home *** CD-ROM | disk | FTP | other *** search
/ ToolBook 3.0 / ToolBook v3.0.iso / tb30 / samples / dbexchng.tbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1994-05-19  |  332.5 KB  |  6,673 lines

  1. exchangeHelp
  2. .&+    +E
  3. Hotword
  4. gjumpPage
  5. buttonClick
  6. .&+    +E
  7. helptext
  8. enterPage
  9. .&+    +E
  10. .&+    +E
  11. previous
  12. buttonClick
  13. (jumpPage 
  14. "helptext" 
  15. FALSE
  16. HelpText
  17. subtitle
  18. PreviousBtn
  19. .&+    +E
  20. buttonUp
  21. FALSE
  22. Previous
  23. nextbtn
  24. .&+    +E
  25. buttonUp
  26. FALSE
  27. .&+    +E
  28. .&+    +E
  29. folder
  30. svReturnPage
  31. buttonUp
  32. 4svReturnPage
  33. sysSuspendMessages 
  34. xwant 
  35. [out information \
  36. -- on 
  37.     sendNotifyBefore 
  38. "folder" 
  39. 1 -- needed because 
  40. Return
  41. Paradox Browser
  42. 8v;d@
  43. WdXfUF$F$F$F$U
  44.     {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  45. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  46.     The page script handles initalization and cleanup for the frontend, links the DLLs and contains all handlers that actually communicate with the database DLL.  All of the database functions are in the page script for easy maintainence, only the page 
  47. script needs to be changed to change database DLLs.
  48. \par     When a frontend is built, recordFields whose name are the same as the fields in the database file are created.  These recordFields all have the same script with 3 notify handlers:  \b0 \i \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDisplay\b0 
  49. \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 , \b0 \i \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDB\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 , and \b0 \i \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 clearFields\b0 \i0 \strike0 \f0 \fs20 \ulnone 
  50. \up0 \dn0 \cf1 .  These notify handlers call get and set handlers on the page to get and set data in the current record of the database file.  
  51. \par 
  52.     This technique of using notify handlers is used for maintainability.  To add a field from the database to the frontend, just copy one of the existing recordFields and set its name to the name of the database field.  To delete a field from the frontend, 
  53. just delete the recordField, no scripts must be changed.
  54. \par \par This page contains the following handlers:
  55. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  enterApplication, leaveApplication, author, mouseEnter, linkPX, 
  56. \par     deleteRecord, updateDB, newRecord, packDatabase, 
  57. \par     helpForThisBook, searchForKey.
  58. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to get\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  currentRecord, totalRecords, fieldValue, isPositiveInteger, nameOnly, 
  59. \par     removeExtension.
  60. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to set\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  fieldValue, currentRecord.}
  61. helpMessage
  62. first record
  63. first
  64. WcurrentRecord
  65. PupdateDisplay
  66. buttonClick
  67. buttonClick
  68. currentRecord 
  69. updateDisplay
  70. go to first record
  71. helpText
  72. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  73. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  74.     The First button navigates to the first record in the database by setting the currentRecord of the page.  In the page script there is a to set currentRecord handler that does the actual navigation in the database.  It then sends the updateDisplay 
  75. notification message that notifies the recordFields to read their field from the current record in the database and update their text.  
  76. \par \par This button contains the following handlers:
  77. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonClick
  78. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDisplay
  79. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sets\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 : currentRecord of the page}
  80. helpMessage
  81. Previous
  82. buttondown
  83. previous
  84. WcurrentRecord
  85. PupdateDisplay
  86. buttonStillDown
  87. currentRecord 
  88. updateDisplay
  89. go to previous record
  90. helpText
  91. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  92. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  93.     The Previous button navigates to the previous record in the database by setting the currentRecord of the page.  In the page script there is a to set currentRecord handler that does the actual navigation in the database.  It then sends the updateDisplay 
  94. notification message that notifies the recordFields to read their field from the current record in the database and update their text.  Holding down the Previous button "flips" through the records by handling the buttonStillDown message.
  95. \par \par This button contains the following handlers:
  96. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonDown, buttonStillDown
  97. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDisplay, buttonStillDown
  98. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sets\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 : currentRecord of the page}
  99. helpMessage
  100. buttonDown
  101. WcurrentRecord
  102. PupdateDisplay
  103. buttonStillDown
  104. currentRecord 
  105. updateDisplay
  106. go to next record
  107. helpText
  108. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  109. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  110.     The Next button navigates to the next record in the database by setting the currentRecord of the page.  In the page script there is a to set currentRecord handler that does the actual navigation in the database.  It then sends the updateDisplay 
  111. notification message that notifies the recordFields to read their field from the current record in the database and update their text.  Holding down the Next button "flips" through the records by handling the buttonStillDown message.
  112. \par \par This button contains the following handlers:
  113. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonDown, buttonStillDown
  114. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDisplay, buttonStillDown
  115. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sets\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 : currentRecord of the page}
  116. helpMessage
  117. LastRecord
  118. WcurrentRecord
  119. PupdateDisplay
  120. buttonClick
  121. buttonClick
  122. currentRecord 
  123. "Last"
  124. updateDisplay
  125. @"0'H
  126. go to last record
  127. helpText
  128. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  129. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  130.     The Last button navigates to the last record in the database by setting the currentRecord of the page.  In the page script there is a to set currentRecord handler that does the actual navigation in the database.  It then sends the updateDisplay 
  131. notification message that notifies the recordFields to read their field from the current record in the database and update their text.  
  132. \par \par This button contains the following handlers:
  133. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonClick
  134. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDisplay
  135. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sets\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 : currentRecord of the page}
  136. helpMessage
  137. sortbylabel
  138. Choose fields to Sort by:
  139. chooseIndex
  140. getPXErrorString
  141. closePXTable
  142. WcurrentRecord
  143. FindKey
  144. indexArray
  145. openPXTable
  146. database
  147. PupdateDisplay
  148. pParadoxfilename
  149. WcurrentRecord
  150. selectChange
  151. selectChange
  152. 4indexArray[]
  153. ZINT vRecordNumber
  154.  = currentRecord 
  155. closePXTable("database")
  156. getPXErrorString(
  157. openPXTable("
  158. C, pParadoxfilename 
  159. oselectedItem], 0)
  160. enabled 
  161. B"FindKey" 
  162. updateDisplay
  163. select an index file 
  164. helpText
  165. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  166. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  167.     The Choose Index combobx opens the database sorted in the order specified by the selected item.  It uses a system variable to map the selected text line in the combobox to the correct index file.  The system variable, \b0 \i \strike0 \f0 \fs20 \ulnone 
  168. \up0 \dn0 \cf1 indexArray[]\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 , is initalized in the enterApplication handler.
  169. \par \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \par This button contains the following handlers:
  170. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  selectChange
  171. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends:  \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDisplay (notification message)}
  172. helpMessage
  173. IMARY
  174. $1f87
  175. findKey
  176. Cancel
  177. Paradox Browser
  178. SUCCESS
  179. vQstrEnterField
  180. WcurrentRecord
  181. searchTable
  182. strEnterKey
  183. fieldName
  184. PupdateDisplay
  185. WcurrentRecord
  186. buttonClick
  187. buttonClick
  188. (strEnterField()
  189. "Cancel"
  190. fieldName 
  191. (strEnterKey()
  192. searchTable (
  193. <> "SUCCESS"
  194.     currentRecord() = 
  195. -- force update
  196. updateDisplay 
  197. "Paradox Browser"
  198. ^4V8H
  199. go to a record by key value
  200. helpText
  201. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  202. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1     The Find Key button searches the database for a record matching the specified text, sets it as the currentRecord and updates the display.\b0 
  203. \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \par \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \par This button contains the following handlers:
  204. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonClick
  205. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  searchForKey, \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDisplay (notification message)}
  206. helpMessage
  207. Search...
  208. goToRecord
  209. w,    #?
  210. Cancel
  211. WcurrentRecord
  212. *totalRecords
  213. fstrOutOfRange
  214. strEnterRec
  215. PupdateDisplay
  216. buttonClick
  217. buttonClick
  218. (strEnterRec() 
  219. <> NULL 
  220. r<> "Cancel"
  221. (isType(INT,
  222. > 0) 
  223. <= totalRecords()
  224. currentRecord 
  225. updateDisplay
  226. && strOutOfRange()
  227. go to a record by record number
  228. helpText
  229. Go to Record...
  230. WriteRecord
  231. G[updateDB
  232. buttonClick
  233. buttonClick
  234. updateDB
  235. save the contents of the fields to the file
  236. helpText
  237. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  238. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  239.     The Save Record button sends the updateDB message that notifies all of the recordFields to write their text to the current record.  The updateDB message is handled  by the page where the currentRecord is written to the database.
  240. \par \par This button contains the following handlers:
  241. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonClick
  242. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends:  \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 updateDB}
  243. helpMessage
  244. Jve Record
  245. NewRecord
  246. newRecord
  247. PupdateDisplay
  248. buttonClick
  249. buttonClick
  250. newRecord
  251. updateDisplay
  252. clear the fields and insert a blank record into the file
  253. helpText
  254. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  255. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  256.     The New Record button sends the newRecord message that is handled on the page.  The newRecord handler on the page sends the clearField notification message which is handled by all of the recordFields, then it appends the blank record to the database.
  257. \par \par This button contains the following handlers:
  258. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonClick
  259. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 : newRecord and updateDisplay
  260. \par }
  261. helpMessage
  262. &New Record
  263. DeleteRecord
  264. deleteRecord
  265. PupdateDisplay
  266. buttonClick
  267. buttonClick
  268. deleteRecord
  269. updateDisplay
  270. delete the current record from the file
  271. helpText
  272. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  273. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  274.     The Delete Record button sends the deleteRecord message that is handled on the paged followed by the updateDisplay notify message.  The DLL function that actually deletes the record is placed in the page script for easy matainence.
  275. \par \par This button contains the following handlers:
  276. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to handle\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  buttonClick
  277. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 sends\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 : deleteRecord and updateDisplay
  278. \par }
  279. helpMessage
  280. lete Record
  281. titlefield
  282. Front End to  
  283. status
  284. currRecord
  285. totRecords
  286. currRecord
  287. totRecords
  288. totRecords
  289. currRecord
  290. *totalRecords
  291. WcurrentRecord
  292. updateDisplay
  293. currRecord
  294. totRecords
  295. value
  296.  & " " 
  297. notifyBefore updateDisplay
  298. currentRecord()
  299. totalRecords()
  300. displays the current record number and number of total records
  301. helpText
  302. {\rtf1 \ansi \deff0 {\fonttbl {\f0 \fswiss MS Sans Serif;}}{\colortbl \red255 \green255 \blue255 ;\red0 \green0 \blue0 ;\red255 \green0 \blue0 ;}{\stylesheet {\s0 \ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \cb0 
  303. \sbasedon0 \snext0 field text;}}\ql \fi0 \li0 \ri0 \sl0 \tx720 \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  304.     The Stauts Field reprots the current record number and the number of total records in the Database.  It is updated by the updateDisplay notification message.  It uses \b0 \i \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 TO SET\b0 \i0 \strike0 \f0 \fs20 
  305. \ulnone \up0 \dn0 \cf1  and \b0 \i \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 TO GET\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 
  306.  handlers to set and get the values of currentRecord and totalRecords so that if the message in the status field changed to "You are on record number 3 out of 5" so that currentRecord was word 6 instead of word 2 in the field, only the set handlers woul have to be changed, you would not have to track down every script on the page or background that set 
  307. currentRecord.\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \par \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 \par This button contains the following handlers:
  308. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 notifyBefore\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  updateDisplay
  309. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to get\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  currentRecord, totalRecords
  310. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 to set\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 : currentReocrd, totalRecords
  311. \par \b \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf2 gets\b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 :  \b0 \i0 \strike0 \f0 \fs20 \ulnone \up0 \dn0 \cf1 currentRecord and totalRecords of the page (see the page script)}
  312. helpMessage
  313. Record:  1 of 17777777777777
  314. not set yet
  315. helpText
  316. updateDisplay
  317. &Save Record
  318. &Delete Record
  319. Progress
  320. Progress
  321. fullBar
  322. currentBar
  323. currentPercent
  324.  80%6969696969697%
  325. RecordCounter
  326. Record 4 of 57703773
  327. partitions
  328. splash
  329. dBIII  -><-ToolBook-><- Paradoxdoxxxxxx
  330. DBase Exchange ver. 3.0
  331.  1994 Asymetrix Corp.
  332. Importing dBase to ToolBook
  333. Use the "Import dBase to ToolBook" page or the "Import Paradox to ToolBook" page to access dBase or Paradox data in ToolBook.  After you choose a database file, the field names appear in the "Select dBase (Paradox) Fields" listbox.  Click the names of only the dBase or Paradox fields you want to import.  Use the Select All Fields button if you want to import all the fields listed.  You must have at least one field selected in order to import.
  334. By clicking Import to Record Fields, you create a new  book with the same name as the original database, with all records imported as ToolBook record fields.  The new book has one page for every record in the dBase file.
  335. By clicking Import to Front End, you create a new, untitled book that uses OpenScript for viewing and editing the database file.  
  336. Importing dBase or Paradox to ToolBookk
  337. Import to Record Fields
  338. jumpPage
  339. Import to Front End
  340. jumpPage
  341. Import to Front End
  342. Import to Record Fields
  343. Import to Record Fields creates a new book in a second instance of ToolBook. 
  344. The new book contains one background field and one record field for each dBase or Paradox field that was selected.  The background field contains the name of the dBase or Paradox field, and the record field contains the data from the field.
  345. The new book has one page for each record in the dBase or Paradox file.  To view each page, use the navigation buttons provided or the commands on the Page menu.
  346. ge menu.
  347. Import to Record Fields
  348. Import to Front End
  349. Import to Front End creates a new, untitled book in a second instance of ToolBook.  
  350. The front end book contains 2 pages.  The first page is for viewing dBase data.  The second page is help for the front end.   The front end page consists of controls for selecting records in the dBase file and ToolBook fields for both the dBase field names and the data.
  351. For help using the front end, see the help page that comes with that book.g
  352. Import to Front End
  353. Exporting ToolBook to dBase
  354. Use the "Export ToolBook to dBase" page to create a dBase file.  Use the "Export ToolBook to Paradox" page to create a Paradox file.  One record is created for each page of the background you are importing from. 
  355. Choose a book to export. Because books often have title pages, ToolBook looks at the last page of the book first to verify that valid record fields exist on the background. Then it begins searching the book, starting on the first page of the background with record fields. To be valid, record fields must have unique names and must not be grouped.
  356. If your book does not have the data you want on the last page, edit the book by renumbering one of the background pages so that it becomes the last page of the book.
  357. If a book can be exported, its valid record fields are listed in the field labeled Select ToolBook Fields.
  358. Selecting ToolBook Fields Export
  359. jumpPage
  360. Exporting ToolBook to dBase or Paradox
  361. Selecting ToolBook Fields Export
  362. Click  a field name in Select ToolBook Fields, then click the Add button to export the ToolBook field to a dBase or Paradox file..
  363. When you select a ToolBook field, its name and text appear in View ToolBook Information.  ToolBook tries to determine the dBase or Paradox field type from the text of the field.
  364. If you want to change the characteristics of a dBase or Paradox field, use the controls in Change dBase Field Characteristics or Paradox Field Characteristics.istics..
  365. Selecting ToolBook Fields
  366. jumpPage
  367. jumpPage
  368. Paradox Field Char - Export
  369. Change dBase Field - Export
  370. Paradox Field Char - Export
  371. Change dBase Field - Export
  372. The controls in the Change dBase Field Characteristics section reflect the currently selected field in the dBase Fields listbox.  If a dBase field is not selected, the controls are unavailable.
  373. Name:  A dBase field name  up to 10 characters long.  The first character cannot be a number.  Acceptible characters are:
  374.                                    A...Z  _  0 1 2 3 4 5 6 7 8 9
  375. Type:  The dBase data type. Click one of the five radio buttons to change the data type.
  376. Width:  The number of characters in the dBase field. The maximum width for fields of type Character is 254 and Numeric is 19.  For  other types, the width is predefined and cannot be changed.
  377. Decimal: For fields of  type Numeric, the number of characters after the decimal point.  The maximum value is 15. Decimal must be at least 2 less than the width of the field.  For example, if Width is 8, the maximum decimal value you can set is 6.
  378. Date Format: The format used in the ToolBook record field.  If no date format is set,  sysDateFormat  is used.  If the text of the record field is a date but ToolBook guesses that it is a different format, change the data type to Date and choose the Date Format button to specify the correct format. 
  379. If your book has many record fields containing dates that ToolBook does not recognize as dates, change sysDateFormat to match the format of the dates in the record fields.
  380. Change dBase Field Characteristics
  381. splash
  382. jumpPage
  383. jumpPage
  384. Paradox Field Char - Export
  385. Change dBase Field - Export
  386. Paradox Field Char - Export
  387. Change dBase Field - Export
  388. Import dBase
  389. Import Paradox
  390. Import Paradox
  391. DatabaseFields
  392. 06cleanUp
  393. enterPage
  394. closePXTable
  395. DBExchng
  396. DatabaseFields
  397. 06cleanUp
  398. leavePage
  399. button "selectAllFields", button "unselectAllFields",
  400. field "ParadoxFileName", field "DatabaseFields"
  401. button "ImportToRecordFields", button "ImportToFrontEnd"
  402. cleanUP
  403. --handlers 
  404. functions 
  405. }only on 
  406.     --If there 
  407. some old stuff on 
  408. , delete 
  409. "DatabaseFields" <> 
  410. cleanUp 
  411.     --Delete 
  412. 4leaving 
  413. closePXTable("DBExchng")
  414. reset 
  415.  fields 
  416. buttons 
  417. their initial state
  418. cleanUP
  419. ZvFieldList, vButtonList
  420. ""ParadoxFileName"", 
  421. 4 = "
  422. B""selectAllFields"", 
  423. B""unselectAllFields"","& \
  424. B""ImportToRecordFields"", 
  425. B""ImportToFrontEnd"""
  426. enabled 
  427. FALSE
  428. select a Paradox file to import
  429. helpText
  430. Choose Paradox File...
  431. paradoxFileName
  432. Paradox file to import
  433. helpText
  434. Select Paradox Fields:
  435. DatabaseFields
  436. fieldButtons
  437. unselectAllFields
  438. buttonClick
  439. keyUp
  440. buttonClick
  441. selectedTextlines 
  442.         -- only 
  443. enable them 
  444. they are 
  445. xalready enabled
  446.         -- buttons grouped 
  447. simplify 
  448. B"unselectAllFields"
  449. "fieldButtons" 
  450. FALSE
  451. KeySpace
  452. fields available to import
  453. helpText
  454. selectallFields
  455. Databasefields
  456. DatabaseFields
  457. buttonClick
  458. buttonClick
  459. ZLONG i
  460. ZSTACK vSelectedLines
  461. textlineCount(
  462. "DatabaseFields")
  463. selectedTextlines 
  464. "Databasefields"
  465. select all of the listed fields to import
  466. helpText
  467. Select All Fields
  468. directions
  469. helpText
  470. Data in a Paradox file can be exchanged in two ways:
  471. 1.  Import the Paradox database into record fields in a new book.
  472. 2.  View and edit the Paradox database directly in a ToolBook front end.
  473. fieldButtons
  474. unselectallFields
  475. DatabaseFields
  476. buttonClick
  477. buttonClick
  478. selectedTextlines 
  479. "DatabaseFields" 
  480. unselect all of the listed fields to import
  481. helpText
  482. Unselect All Fields
  483. ImportToFrontEnd
  484. import the selected fields to a ToolBook front end
  485. helpText
  486. Import to Front End
  487. ImportToRecordFields
  488. import the selected fields to a ToolBook flat file database
  489. helpText
  490. Import to RecordFields
  491. script
  492. author
  493. reader
  494. author
  495. enterPage
  496. notifyBefore 
  497. script for recordfields in front end
  498. helpText
  499. --notify handlers are used here to allow changing of the fields without 
  500. --changing script anywhere else.  Because the text of a recordfield lives
  501. --on the page and not the background we use words 1 to 3 of the unique name (self)
  502. --to refrence the text to set or get.
  503. notifyBefore updateDisplay
  504.     set text of words 1 to 3 of self to fieldValue(my name) of this page
  505. notifyBefore updateDB
  506.     set fieldValue(my name) of this page to text of words 1 to 3 of self
  507. notifyBefore clearFields
  508.     clear text of words 1 to 3 of self
  509.     set fieldValue(my name) of this page to null
  510. notifyBefore queryDBFields
  511.     system databaseFieldList
  512.     push self onto databaseFieldList
  513. author
  514. reader
  515. enterPage
  516. Export dBase
  517. )f-B0b2b4
  518. 14,23
  519. selectChars
  520. TypeLabel
  521.  Type:
  522. w,    #b
  523. .&+    +
  524. ToolBook file (*.TBK), *.TBK
  525. npnameOnly
  526. 9listToolBookFields
  527. svLine
  528. toolbookfilename
  529. toolbookfields
  530. OpenFileDlg
  531. dbfields
  532. svTbName
  533. strPLChoosedBook
  534. buttonClick
  535. buttonClick
  536. 4STRING svTbName 
  537. 4INT svLine
  538. !vName
  539. OpenFileDlg (strPLChoosedBook(),"", ".", "ToolBook file (*.TBK), *.
  540. ", 1)
  541. "toolbookfilename" 
  542. [(nameOnly(
  543. listToolBookFields
  544. "dbfields"
  545. "toolbookfields" <> 
  546. y-- will be 
  547. error
  548. selectedTextlines 
  549. enabled 
  550. select a ToolBook book to export to a dBase file
  551. helpText
  552. Choose Book...
  553. ToolBookFileName
  554. ToolBook book to export to a dBase file
  555. helpText
  556. Build dBase File
  557. save the specified recordFields to a dBase file
  558. helpText
  559. Save As dBase...
  560. Select ToolBook Fields:
  561. ToolBookFields
  562. buttonClick
  563. buttonClick
  564. selectedTextlines 
  565. recordFields on last background of the selected book
  566. helpText
  567. add_remove
  568. include recordField in export list
  569. helpText
  570. Add >>
  571. remove
  572. remove recordField from export list
  573. helpText
  574. Remove << 
  575. Clear
  576. .&+    +
  577. pPresetDataView
  578. dateFormat
  579. dateFormat
  580. 9listToolBookFields
  581. svLine
  582. toolbookfields
  583. dbfields
  584. remove
  585. resetCharacteristics
  586. buttonClick
  587. buttonClick
  588. 4INT svLine
  589. = TRUE
  590. enabled 
  591. FALSE
  592. listToolBookFields
  593. "dbfields"
  594. l = 0
  595. selectedtextlines 
  596. "toolbookfields" 
  597. resetCharacteristics
  598. resetDataView
  599. dateFormat 
  600. clear export list
  601. helpText
  602. Clear
  603. dBase Fields:
  604. Type'
  605. dbfields
  606. synch
  607. svLine
  608. buttonDown
  609. synch
  610. svLine
  611. field
  612. keyUp
  613. textScrolled
  614. +",H4
  615. +",H4
  616. +",H4
  617. +",H4
  618. w,    />
  619. +",H3
  620. saveTBName
  621. svLine
  622. svBkName
  623. dWidth
  624. setCharacteristicsState
  625. dName
  626. dType
  627. setDataView
  628. dDecimal
  629. synch
  630. 4INT svLine
  631.  <> selectedTextlines 
  632. synch 
  633. Z <> 
  634. textScrolled
  635. {targetField
  636. 4STRING svBkName
  637. ZvName
  638. selectedTextLines 
  639. = TRUE
  640. setCharacteristicsState
  641. "dType",\
  642. "dWidth",\
  643. "dDecimal",\
  644. "dName"
  645. setDataView 
  646. saveTBName 
  647. = FALSE
  648. dName
  649. THREE
  650. VLOCALNUM
  651. VEXTENSION
  652. BILLINGCD
  653. NOTES
  654. saveTBName
  655. name for field in dBase file
  656. helpText
  657. dType
  658. dBase field type for recordField data
  659. helpText
  660. dWidth
  661. dBase field width for recordField data
  662. helpText
  663. dDecimal
  664. number of decimal digts if numeric field
  665. helpText
  666. b!T!\s
  667. viewLabel
  668. FALSE
  669. disabled
  670. View ToolBook Field Information  
  671. +",H4
  672. svLine
  673. 2DisAlNum
  674. dbFields
  675. dName
  676. keyChar
  677. strNameToLarge
  678. strNameNull
  679. strChar1Num
  680. isNum
  681. leaveField
  682. 4INT svLine
  683. ) > 9 
  684. (selectedTextState = 
  685. isAlNum(
  686. a = 95
  687. -- backspace
  688. "dName" 
  689. selectedTextlines 
  690. "dbFields" 
  691. Key <> 
  692. ZSTRING vError
  693. ) > 10
  694.  = strNameToLarge()
  695. > = strNameNull()
  696. isNum(
  697. f = strChar1Num()
  698. FALSE
  699. disabled
  700. name of field in dBase file
  701. helpText
  702. nameLabel
  703. FALSE
  704. disabled
  705. Name:
  706. l' (0(
  707. widthLabel
  708. FALSE
  709. disabled
  710. Width:
  711. width
  712. foo(FALSE)
  713. FALSE
  714. disabled
  715. disabled(FALSE)
  716. Width of selected dBase field
  717. helpText
  718. J#<#\s
  719. Character
  720. set field type to character
  721. helpText
  722. Character 
  723. set field type to date
  724. helpText
  725. Logical
  726. set field type to logical
  727. helpText
  728. Logical
  729. )X,b,
  730. set field type to memo
  731. helpText
  732. Memo 
  733. Numeric
  734. set field type to numeric
  735. helpText
  736. Numeric 
  737. DateFormat
  738. w,    />
  739. +",H3
  740. w,    />
  741. +",H3
  742. dateFormat
  743. saveTBName
  744. strAskDateFormat
  745. svLine
  746. dateFormat
  747. dName
  748. strOK
  749. buttonClick
  750. buttonClick
  751. 4INT svLine
  752. (strAskDateFormat(
  753. Bsvline 
  754. saveTBName 
  755. dName) \
  756. r= strOK()
  757. dateFormat 
  758.         -- Probably want 
  759. use that 
  760. every 
  761. set the date format for the dBase file
  762. helpText
  763. Date Format...
  764. tbNamelabel
  765. darkGray
  766. strokeGraued
  767. FALSE
  768. disabled
  769. Name:
  770. TBRecordFieldName
  771. disabled
  772. name of ToolBook recordField
  773. helpText
  774. tbTextLabel
  775. FALSE
  776. disabled
  777. Text:  
  778. TBRecordFieldText
  779. disabled
  780. contents of ToolBook recordField
  781. helpText
  782. DecimalLabel
  783. FALSE
  784. disabled
  785. Decimal:
  786. Decimal
  787. foo(FALSE)
  788. FALSE
  789. disabled
  790. disabled(FALSE)
  791. decimal precision of selected dBase field
  792. helpText
  793. changeLabel
  794. FALSE
  795. disabled
  796. Change dBase Field CharacteristicsText
  797. FrontEnd
  798. dBase browser
  799. X&H&{
  800. X&H&{
  801. first record
  802. first
  803. WcurrentRecord
  804. Failed
  805. PupdateDisplay
  806. buttonClick
  807. buttonClick
  808. currentRecord 
  809. r<> "Failed" -- 
  810. updateDisplay
  811. go to first record
  812. helpText
  813. Previous
  814. buttondown
  815. previous
  816. WcurrentRecord
  817. Failed
  818. PupdateDisplay
  819. buttonStillDown
  820. currentRecord 
  821. r<> "Failed" -- 
  822. updateDisplay
  823. go to previous record
  824. helpText
  825. buttonDown
  826. WcurrentRecord
  827. Failed
  828. PupdateDisplay
  829. buttonStillDown
  830. currentRecord 
  831. r<> "Failed" -- 
  832. updateDisplay
  833. go to next record
  834. helpText
  835. LastRecord
  836. WcurrentRecord
  837. Failed
  838. PupdateDisplay
  839. buttonClick
  840. buttonClick
  841. currentRecord 
  842. "Last"
  843. r<> "Failed" -- 
  844. updateDisplay
  845. go to last record
  846. helpText
  847. OpenIndexFile
  848. openIndex
  849. buttonClick
  850. buttonClick
  851. openIndex
  852. open an index file
  853. helpText
  854. Open Index File...
  855. goToRecord
  856. w,    #?
  857. cancel
  858. WcurrentRecord
  859. *totalRecords
  860. fstrOutOfRange
  861. strEnterRec
  862. PupdateDisplay
  863. buttonClick
  864. buttonClick
  865. (strEnterRec() 
  866. <> NULL 
  867. r<> "
  868. (isType(INT,
  869. > 0) 
  870. <= totalRecords())
  871. currentRecord 
  872. updateDisplay
  873. && strOutOfRange()
  874. go to a record by record number
  875. helpText
  876. Go to Record...
  877. findKey
  878. strEnterKey
  879. searchForKey
  880. PupdateDisplay
  881. buttonClick
  882. buttonClick
  883. (strEnterKey()
  884. searchForKey 
  885. updateDisplay
  886. go to a record by key value
  887. helpText
  888. Find Key...
  889. WriteRecord
  890. G[updateDB
  891. buttonClick
  892. buttonClick
  893. updateDB
  894. save the contents of the fields to the file
  895. helpText
  896. Save Record
  897. NewRecord
  898. newRecord
  899. PupdateDisplay
  900. buttonClick
  901. buttonClick
  902. newRecord
  903. updateDisplay
  904. clear the fields and insert a blank record into the file
  905. helpText
  906. New Record
  907. DeleteRecord
  908. deleteRecord
  909. buttonClick
  910. buttonClick
  911. deleteRecord
  912. delete the current record from the file
  913. helpText
  914. Delete Record
  915. titlefield
  916. Front End to 
  917. status
  918. currRecord
  919. totRecords
  920. currRecord
  921. totRecords
  922. totRecords
  923. currRecord
  924. *totalRecords
  925. WcurrentRecord
  926. updateDisplay
  927. currRecord
  928. totRecords
  929. value
  930.  & " " 
  931. notifyBefore updateDisplay
  932. currentRecord()
  933. totalRecords()
  934. displays the current record number and number of total records
  935. helpText
  936. Record:  0 of 07777777777777
  937. SortCheck
  938. chooseIndex
  939. enableFields
  940. FALSE
  941. sortExpressionLabel
  942. currentKeyValue
  943. findKey
  944. svKey
  945. sortExpression
  946. 1deselectDBIndexfile
  947. currentKeyValueLabel
  948. buttonClick
  949. chooseIndex
  950. enableFields
  951. FALSE
  952. sortExpressionLabel
  953. currentKeyValue
  954. findKey
  955. svKey
  956. sortExpression
  957. currentKeyValueLabel
  958. vFieldList
  959. updateDisplay
  960. buttonClick
  961. 4svKey
  962. ZvFieldList
  963. combobox "chooseIndex" 
  964. dropDownItems 
  965. selectChange 
  966. deselectDBIndexfile()
  967. enabled 
  968. BfindKey 
  969.  = "sortExpressionLabel", "currentKeyValueLabel",\
  970. 0", "
  971. enableFields(
  972. , FALSE, TRUE)
  973. notifyBefore updateDisplay
  974. l", "
  975. el",\
  976. toggle the index on/off
  977. helpText
  978. Sort by Index
  979. sortExpressionLabel
  980. Sort Expression:Y 
  981. sortExpression
  982. sortCheck
  983. kereadIndexExpression
  984. updateDisplay
  985. notifyBefore updateDisplay
  986. B"sortCheck"
  987. readIndexExpression()
  988. expression used to create current index file
  989. helpText
  990. CurrentKeyValueLabel
  991. Current Key Value:##
  992. "&#.$
  993. currentKeyValue
  994. sortCheck
  995. readKeyValue
  996. updateDisplay
  997. notifyBefore updateDisplay
  998. B"sortCheck"
  999. readKeyValue()
  1000. the value of the sort expression for the current record.
  1001. helpText
  1002. not set yet
  1003. helpText
  1004. sortbylabel
  1005. Choose Index to Sort by:G&$
  1006. 4%J&B)
  1007. chooseIndex
  1008. PupdateDisplay
  1009. enableFields
  1010. sortExpressionLabel
  1011. SortCheck
  1012. gotodbRecord
  1013. FindKey
  1014. getDBRecordNumber
  1015. svKey
  1016. CurrentKeyValueLabel
  1017. selectdbIndexFile
  1018. selectChange
  1019. selectChange
  1020. 4svKey
  1021. ZINT vRecordNumber
  1022. ZvFieldList
  1023.  = getDBRecordNumber()
  1024. selectdbIndexFile(
  1025. gotodbRecord(
  1026. S = "sortExpressionLabel", "CurrentKeyValueLabel"
  1027. enableFields(
  1028. , TRUE)
  1029. B"SortCheck" 
  1030. enabled 
  1031. B"FindKey" 
  1032. updateDisplay
  1033. select an index file 
  1034. helpText
  1035. updateDisplay
  1036. Paradox FrontendHelp
  1037. HelpText
  1038. You can view the records in the Paradox file by clicking the navigation buttons (
  1039. <<, <<, >>, and >>
  1040. ) , clicking the Go To Record button, or clicking the Search button.
  1041. To edit a Paradox field, change the text of the field and click Save Record. If you do not save the record, the next time you view it, the data for the field will be unchanged.
  1042. Whenever you save, delete, or add a new record, only the primary index and any indexes created as "secondary maintained" are updated.  Any non-maintained indexes are not updated. 
  1043. When a Table is opened all of the indexes for it are opened and the fields in the key are put in the combobox.  Corrupted indexes are rebuilt. To select an index to sort by, choose the corresponding fields from the combobox.
  1044. When you delete a record, the space it takes is not physically removed from the database until you  choose Pack Database from the file menu. You should do this every once in a while to prevent the database files from becoming huge.
  1045. subtitle
  1046. Using the Front End
  1047. .&+    +E
  1048. default
  1049. buttonClick
  1050. buttonClick
  1051.     sysSuspendMessages = 
  1052. o= default
  1053. FrontEnd
  1054. exchangeHelp
  1055. dBase FrontEndHelp
  1056. HelpText
  1057. You can view the records in the dBase file by clicking the navigation buttons (
  1058. <<, <<, >>, and >>
  1059. ) , clicking the Go ToRecord button, or clicking the Find Key button.
  1060. To edit a dBase field, change the text of the field and click Save Record. If you do not save the record, the next time you view it, the data for the field will be unchanged.
  1061. Whenever you save, delete, or add a new record, you are warned that your index files can get out of date if they have not been opened.  To stop the warning from appearing, choose Stop Index Warning from the dBase menu.
  1062. Records can be sorted by index files if an index file is open.  To open an index file, choose Open Index File button.  If the sort options are grayed out, an index file has not been opened yet.
  1063. When you delete a record, it is not physically removed from the file until you  choose Pack Database from the dBase menu.
  1064.         nu.
  1065. subtitle
  1066. Using the Front End
  1067. .&+    +E
  1068. default
  1069. buttonClick
  1070. buttonClick
  1071.     sysSuspendMessages = 
  1072. o= default
  1073. Selecting ToolBook Fields Export
  1074. Progress
  1075. Export dBase
  1076. Export Paradox
  1077. CDBFIL&File
  1078. &Open Index File...    Ctrl+O
  1079. OpenIndex
  1080. Open an Index file for the current database.
  1081. &Close Index File...    Ctrl+I
  1082. CloseIndexFile
  1083. Select an Index file to close.
  1084. &Run...
  1085. Run another application.
  1086. E&xit
  1087. Exit Database Frontend.
  1088. &Edit
  1089. Cu&t    Ctrl+X
  1090. Cut selected text from field.
  1091. &Copy    Ctrl+C
  1092. Copy selected text to clipboard
  1093. &Paste    Ctrl+V
  1094. Paste text from clipboard.
  1095. Clear    Del
  1096. Clear field
  1097. &Size to Page    F11
  1098. SizeToPage
  1099. Adjusts the application window to the current page size.
  1100. Author    F3
  1101. &dBase
  1102. &Pack Database    Ctrl+P
  1103. Remove deleted records from database file.
  1104. &Stop Index Warning
  1105. &Help...
  1106. helpForThisBook
  1107. Get help for dBIII front end.
  1108. &Save    Ct&File
  1109. Create, open, and manage files
  1110. &Open...    Ctrl+O
  1111. &Save    Ctrl+S
  1112. Save &As...
  1113. &Run...
  1114. E&xit    Alt+F4
  1115. &Edit
  1116.  Change pages, size the book, switch to author mode
  1117. C&ut    Ctrl+X
  1118. &Copy    Ctrl+C
  1119. &Paste    Ctrl+V
  1120. C&lear    Del
  1121. &Next    Alt+Right
  1122. &Previous    Alt+Left
  1123. &Size to Page    F11
  1124. &Author    F3
  1125. &Help
  1126. &dBase Exchange Help
  1127. DbaseHelp
  1128. &About dBase Exchange...
  1129. AboutDbase
  1130. &File
  1131. &Pack Database    Ctrl+P
  1132. Remove deleted records from database file.
  1133. &Run...
  1134. Run another application.
  1135. E&xit
  1136. Exit Database Frontend.
  1137. &Edit
  1138. Cu&t    Ctrl+X
  1139. Cut selected text from field.
  1140. &Copy    Ctrl+C
  1141. Copy selected text to clipboard
  1142. &Paste    Ctrl+V
  1143. Paste text from clipboard.
  1144. C&lear    Del
  1145. Clear field
  1146. &Size to Page    F11
  1147. SizeToPage
  1148. Adjusts the application window to the current page size.
  1149. &Author    F3
  1150. &Help...
  1151. helpForThisBook
  1152. Get help for Paradox front end.
  1153.  will be pros
  1154. Export Paradox
  1155. +x2P4
  1156. 30,34
  1157. selectChars
  1158. TypeLabel
  1159. Type:
  1160. w,    #b
  1161. .&+    +
  1162. ToolBook file (*.TBK), *.TBK
  1163. npnameOnly
  1164. 9listToolBookFields
  1165. svLine
  1166. toolbookfilename
  1167. toolbookfields
  1168. OpenFileDlg
  1169. dbfields
  1170. svTbName
  1171. strPLChoosedBook
  1172. buttonClick
  1173. buttonClick
  1174. 4STRING svTbName 
  1175. 4INT svLine
  1176. !vName
  1177. OpenFileDlg (strPLChoosedBook(),"", ".", "ToolBook file (*.TBK), *.
  1178. ", 1)
  1179. "toolbookfilename" 
  1180. [(nameOnly(
  1181. listToolBookFields
  1182. "dbfields"
  1183. "toolbookfields" <> 
  1184. y-- will be 
  1185. error
  1186. selectedTextlines 
  1187. enabled 
  1188. select a ToolBook book to export to a Paradox file
  1189. helpText
  1190. Choose Book...
  1191. ToolBookFileName
  1192. ToolBook book to export to a Paradox file
  1193. helpText
  1194. Build Paradox File
  1195. save the specified recordFields to a Paradox file
  1196. helpText
  1197. Save As Paradox...
  1198. Select ToolBook Fields:
  1199. ToolBookFields
  1200. recordFields on last background of the selected book
  1201. helpText
  1202. include recordField in export list
  1203. helpText
  1204. Add >>
  1205. remove
  1206. w,    />
  1207. w,    />
  1208. pPresetDataView
  1209. saveTBName
  1210. saveTBName
  1211. clear
  1212. toolbookFields
  1213. dbFields
  1214. dWidth
  1215. resetCharacteristics
  1216. dName
  1217. dType
  1218. svLine
  1219. buttonClick
  1220. buttonClick
  1221. 4svLine
  1222. ZvTBFieldName, vNextTextline
  1223. = TRUE
  1224. saveTBName 
  1225. "toolbookFields")+1
  1226. ] = 1
  1227. enabled 
  1228. selectedTextLines 
  1229. "dType"
  1230. "dWidth"
  1231. lines have been removed
  1232. resetCharacteristics
  1233. resetDataView
  1234. FALSE
  1235. Uhas 
  1236. o, change 
  1237. selectedtextlines 
  1238. "dbFields" 
  1239. " -- sync fields
  1240. remove recordField from export list
  1241. helpText
  1242. Remove << 
  1243. Clear
  1244. .&+    +
  1245. pPresetDataView
  1246. 9listToolBookFields
  1247. svLine
  1248. toolbookfields
  1249. dbfields
  1250. remove
  1251. resetCharacteristics
  1252. buttonClick
  1253. buttonClick
  1254. 4INT svLine
  1255. = TRUE
  1256. enabled 
  1257. FALSE
  1258. listToolBookFields
  1259. "dbfields"
  1260. l = 0
  1261. selectedtextlines 
  1262. "toolbookfields" 
  1263. resetCharacteristics
  1264. resetDataView
  1265. clear export list
  1266. helpText
  1267. Clear
  1268. Paradox Fields:
  1269. Name1
  1270. viewLabel
  1271. FALSE
  1272. disabled
  1273. View ToolBook Field Information  
  1274. tbNamelabel
  1275. darkGray
  1276. strokeGraued
  1277. FALSE
  1278. disabled
  1279. Name:
  1280. TBRecordFieldName
  1281. disabled
  1282. name of ToolBook recordField
  1283. helpText
  1284. dbFields
  1285. synch
  1286. svLine
  1287. buttonDown
  1288. synch
  1289. svLine
  1290. keyUp
  1291. textScrolled
  1292. +",H4
  1293. +",H4
  1294. +",H4
  1295. w,    />
  1296. +",H3
  1297. saveTBName
  1298. svLine
  1299. svBkName
  1300. dWidth
  1301. setCharacteristicsState
  1302. dName
  1303. dType
  1304. setDataView
  1305. synch
  1306. 4INT svLine
  1307.  <> selectedTextlines 
  1308. synch 
  1309. M <> 
  1310. textScrolled
  1311. htargetField
  1312. 4STRING svBkName
  1313. ZvName
  1314. 1 <> 
  1315.  = selectedTextLines 
  1316. = TRUE
  1317. setCharacteristicsState
  1318. "dType",\
  1319. "dWidth",\
  1320. "dName"
  1321. setDataView 
  1322. saveTBName 
  1323. = FALSE
  1324. dName
  1325. THREE
  1326. saveTBName
  1327. name for field in Paradox file
  1328. helpText
  1329. dType
  1330. Paradox field type for recordField data
  1331. helpText
  1332. dWidth
  1333. Paradox field width for certain types of recordField data
  1334. helpText
  1335. "h#$(
  1336. +",H4
  1337. svLine
  1338. 2DisAlNum
  1339. dbFields
  1340. dName
  1341. keyChar
  1342. strNameToLarge
  1343. strNameNull
  1344. strChar1Num
  1345. isNum
  1346. leaveField
  1347. 4INT svLine
  1348. ) > 24 
  1349. (selectedTextState = 
  1350. isAlNum(
  1351. e = 95 -- dash, no 
  1352. y constant!
  1353. -- backspace
  1354. "dName" 
  1355. selectedTextlines 
  1356. "dbFields" 
  1357. Key <> 
  1358. tabkey
  1359. ZSTRING vError
  1360. ) > 10
  1361.  = strNameToLarge()
  1362. > = strNameNull()
  1363. isNum(
  1364. f = strChar1Num()
  1365. FALSE
  1366. disabled
  1367. name of field in Paradox file
  1368. helpText
  1369. nameLabel
  1370. FALSE
  1371. disabled
  1372. Name:
  1373. widthLabel
  1374. FALSE
  1375. disabled
  1376. Width:
  1377. width
  1378. foo(FALSE)
  1379. FALSE
  1380. disabled
  1381. disabled(FALSE)
  1382. width of selected Paradox field
  1383. helpText
  1384. +",H4
  1385. +",H4
  1386. TBRecordFieldtext
  1387. TBRecordFieldText
  1388. vWidth
  1389. svLine
  1390. Alpha-Numeric
  1391. dWidth
  1392. setCharacteristicsState
  1393. numeric
  1394. dType
  1395. svChecked
  1396. buttonClick
  1397. buttonClick
  1398. 4INT svLine
  1399. 4svChecked
  1400.  keeps me 
  1401. having 
  1402. figure out what 
  1403. there 
  1404. no change
  1405. "Alpha-Numeric"
  1406. "TBRecordFieldtext" 
  1407. vWidth 
  1408. Charcount (
  1409. "TBRecordFieldText")
  1410. "numeric"
  1411. "Memo"
  1412. setCharacteristicsState 
  1413. "dWidth" 
  1414. "dType" 
  1415. + 020
  1416. Alpha-Numeric
  1417. set field type to character
  1418. helpText
  1419. Alpha-numeric  
  1420. set field type to date
  1421. helpText
  1422. +j1v1
  1423. Numeric
  1424. set field type to numeric
  1425. helpText
  1426. Numeric 
  1427. set field type to memo
  1428. helpText
  1429. Memo 
  1430. tbTextLabel
  1431. FALSE
  1432. disabled
  1433. Text:  
  1434. TBRecordFieldText
  1435. disabled
  1436. contents of ToolBook recordField
  1437. helpText
  1438. changeLabel
  1439. FALSE
  1440. disabled
  1441. Change Paradox Field Characteristics
  1442. Change dBase Field - Export
  1443. Import to Front End
  1444. dBase FrontEndHelp
  1445. Paradox FrontendHelp
  1446. Paradox Field Char - Export
  1447. Change dBase Field - Export
  1448. Import to Front End
  1449. Exporting ToolBook to dBase
  1450. Import to Record Fields
  1451. Importing dBase to ToolBook
  1452. Exchange
  1453. folder
  1454. mytabheight
  1455. myNumTabs
  1456. myTabMode
  1457. myTabSpace
  1458. Folder
  1459. tbk_wid_Name
  1460. tabHeight
  1461. numTabs
  1462. tabMode
  1463. tabSpace
  1464. tbk_wid_props
  1465. list,1,2,3,4,5,6
  1466. tbk_wid_values
  1467. tabNode(FALSE)
  1468. obtype
  1469. tabHighlight
  1470. tabLabel
  1471. obtype
  1472. tabHighlight
  1473. tabLabel
  1474. Intro
  1475. goPage
  1476. obtype
  1477. tabHighlight
  1478. tabLabel
  1479. Export Paradox
  1480. goPage
  1481. Export to Paradox
  1482. obtype
  1483. tabHighlight
  1484. tabLabel
  1485. Export dBase
  1486. goPage
  1487. Export to dBase
  1488. obtype
  1489. tabHighlight
  1490. tabLabel
  1491. Import Paradox
  1492. goPage
  1493. Import Paradox
  1494. obtype
  1495. tabHighlight
  1496. tabLabel
  1497. Import dBase
  1498. goPage
  1499. Import dBase
  1500. highlight
  1501. import
  1502. author
  1503. reader
  1504. import
  1505. author
  1506. enterPage
  1507. notifyAfter 
  1508. notifyBefore 
  1509. CopyField
  1510. templet for database fields
  1511. helpText
  1512. labelField
  1513. templet for field labels
  1514. helpText
  1515. Label Field
  1516. import
  1517. author
  1518. reader
  1519. import
  1520. author
  1521. enterPage
  1522. notifyAfter 
  1523. notifyBefore 
  1524. Cancel
  1525. Indicate the key (recordField) on which you want to sort.
  1526. buttonClick
  1527. buttonClick
  1528. sysRuntime 
  1529. ("Indicate the key (
  1530. J) on which you want 
  1531. r<> "Cancel"
  1532. S&ort
  1533. Search
  1534. Cancel
  1535. T"searchString
  1536. field
  1537. U"searchString
  1538. s_dbExLastFocus
  1539. Enter a string to search for
  1540. buttonClick
  1541. buttonClick
  1542. 4s_dbExLastFocus
  1543. ("Enter a 
  1544. osearchString
  1545. r<> "Cancel"
  1546. -- the rest 
  1547. allow 
  1548.              -- even though 
  1549. getting thrown around
  1550. caretLocation = 
  1551. = NULL
  1552. r& ":" && 
  1553. &Search
  1554. autoPageNumber
  1555. enterPage
  1556. What record do you want to go to?
  1557. buttonClick
  1558. notifyBefore 
  1559. buttonClick
  1560. ("What record 
  1561. zyou want 
  1562. isType(INT,
  1563. autoPageNumber
  1564. tbk_wid_name
  1565. tbk_wid_values
  1566. AutoButtons
  1567. import
  1568. author
  1569. reader
  1570. import
  1571. author
  1572. enterPage
  1573. notifyAfter 
  1574. notifyBefore 
  1575. AutoButtons
  1576. tbk_wid_name
  1577. First
  1578. autoDisable Navigation button
  1579. tbk_wid_name
  1580. level
  1581. direction
  1582. disablePage
  1583. tbk_wid_props
  1584. list,background,book
  1585. list,Next,Previous,First,Last
  1586. tbk_wid_values
  1587. background
  1588. prop_level
  1589. direction
  1590. First
  1591. prop_disablePage
  1592. F&irst
  1593. Previous
  1594. :%b%OO
  1595. autoDisable Navigation button
  1596. tbk_wid_name
  1597. level
  1598. direction
  1599. disablePage
  1600. tbk_wid_props
  1601. list,background,book
  1602. list,Next,Previous,First,Last
  1603. tbk_wid_values
  1604. background
  1605. prop_level
  1606. direction
  1607. First
  1608. prop_disablePage
  1609. P&revious
  1610. < r&|&
  1611. &&'OO
  1612. 8'|'qp
  1613. autoDisable Navigation button
  1614. tbk_wid_name
  1615. level
  1616. direction
  1617. disablePage
  1618. tbk_wid_props
  1619. list,background,book
  1620. list,Next,Previous,First,Last
  1621. tbk_wid_values
  1622. background
  1623. prop_level
  1624. direction
  1625. prop_disablePage
  1626. &Next
  1627. < 2(<(
  1628. (<)qp
  1629. P)f)\
  1630. autoDisable Navigation button
  1631. tbk_wid_name
  1632. level
  1633. direction
  1634. disablePage
  1635. tbk_wid_props
  1636. list,background,book
  1637. list,First,Previous,Next,Last
  1638. tbk_wid_values
  1639. background
  1640. prop_level
  1641. direction
  1642. prop_disablePage
  1643. &Last
  1644. enterPage
  1645. reader
  1646. author
  1647. Exchange
  1648. Import dBase
  1649. 12,16
  1650. selectChars
  1651. Record Field
  1652. select a dBase file to import
  1653. helpText
  1654. Choose dBase File...
  1655. dBaseFileName
  1656. dBase file to import
  1657. helpText
  1658. Select dBase Fields:U
  1659. DatabaseFields
  1660. fieldButtons
  1661. unselectAllFields
  1662. buttonClick
  1663. keyUp
  1664. buttonClick
  1665. selectedTextlines 
  1666.         -- only 
  1667. enable them 
  1668. they are 
  1669. xalready enabled
  1670.         -- buttons grouped 
  1671. simplify 
  1672. B"unselectAllFields"
  1673. "fieldButtons" 
  1674. FALSE
  1675. KeySpace
  1676. fields available to import
  1677. helpText
  1678. selectallFields
  1679. databasefields
  1680. databaseFields
  1681. buttonClick
  1682. buttonClick
  1683. ZLONG i
  1684. ZSTACK vSelectedLines
  1685. textlineCount(
  1686. "databaseFields")
  1687. selectedTextlines 
  1688. "databasefields"
  1689. select all of the listed fields to import
  1690. helpText
  1691. Select All Fields
  1692. directions
  1693. helpText
  1694. Data in a dBase file can be exchanged in two ways:
  1695. 1.  Import the dBase data into record fields in a new book.
  1696. 2.  View and edit the dBase data directly in a ToolBook front end.
  1697. fieldButtons
  1698. unselectallFields
  1699. dataBaseFields
  1700. buttonClick
  1701. buttonClick
  1702. selectedTextlines 
  1703. "dataBaseFields" 
  1704. unselect all of the listed fields to import
  1705. helpText
  1706. Unselect All Fields
  1707. ImportToFrontEnd
  1708. import the selected fields to a ToolBook front end
  1709. helpText
  1710. Import to Front End
  1711. ImportToRecordFields
  1712. import the selected fields to a ToolBook flat file database
  1713. helpText
  1714. Import to RecordFields
  1715. script
  1716. author
  1717. reader
  1718. author
  1719. enterPage
  1720. notifyBefore 
  1721. script for recordfields in front end
  1722. helpText
  1723. --notify handlers are used here to allow changing of the field's without 
  1724. --changing script anywhere else.  Because the text of a recordfield lives
  1725. --on the page and not the background we use words 1 to 3 of the unique name (self)
  1726. --to reference the text to set or get.
  1727. notifyBefore updateDisplay
  1728.     set text of words 1 to 3 of self to fieldValue(my name) of this page
  1729. notifyBefore updateDB
  1730.     set fieldValue(my name) of this page to text of words 1 to 3 of self
  1731. notifyBefore clearFields
  1732.     clear text of words 1 to 3 of self
  1733.     set fieldValue(my name) of this page to null
  1734. notifyBefore queryDBFields
  1735.     system databaseFieldList
  1736.     push self onto databaseFieldList
  1737. author
  1738. reader
  1739. enterPage
  1740. dBase browser
  1741. Paradox Browser
  1742. Paradox Field Characteristics
  1743. Value(my name) of this page to null
  1744. notifyBefore queryDBFields
  1745.     system databaseFieldList
  1746.     push self onto databaseFieldList
  1747. author
  1748. reader
  1749. enterPage
  1750. dBase browser
  1751. BasefileName
  1752. System
  1753. Times New Roman
  1754. System
  1755. Arial
  1756. Arial
  1757. Arial
  1758. Arial
  1759. Arial
  1760. MS Sans Serif
  1761. System
  1762. Times New Roman
  1763. System
  1764. MS Serif
  1765. c:\mmtb\courses.dbf
  1766. c:\jx\dbexchng\wfonedex.dbf
  1767.  Sans Serif
  1768. radox\windows\wfonedex.dbf
  1769. Arial
  1770. Arial
  1771. ansferring Data
  1772. Progress
  1773. DBEXCHANGE
  1774. ields
  1775. page id 21
  1776. iting Data to File
  1777. page "Progress"
  1778. page id 0 of book "C:\jx\dbexchng\courses.tbk"
  1779. Transferring Data
  1780. ields
  1781. splash
  1782. Page "splash"
  1783. closeAllDBFiles
  1784. toolbookfields
  1785. dName
  1786. 06cleanUp
  1787. enterPage
  1788. toolbookfields
  1789. dName
  1790. 06cleanUp
  1791. leavePage
  1792. pPresetDataView
  1793. toolbookfileName
  1794. toolbookFields
  1795. dbFields
  1796. resetCharacteristics
  1797. add_remove
  1798. cleanUp
  1799. Decimal
  1800. enableFields
  1801. FALSE
  1802. decimalLabel
  1803. widthLabel
  1804. nameLabel
  1805. TypeLabel
  1806. changeLabel
  1807. dateFormat
  1808. Width
  1809. resetCharacteristics
  1810. field "changeLabel", field "nameLabel", field "TypeLabel",
  1811. svLine
  1812. FALSE
  1813. dbFieldName
  1814. dbFieldType
  1815. svChecked
  1816. dbFieldDecimal
  1817. dbFieldWidth
  1818. vInactiveList
  1819. vActiveList
  1820. enableFields
  1821. FALSE
  1822. field "Width", field "DecimalLabel", field "Decimal"
  1823. decimal
  1824. Character
  1825. vActiveList
  1826. field "WidthLabel", field "name"
  1827. Width
  1828. field "DecimalLabel", field "Decimal"
  1829. Numeric
  1830. vInactiveList
  1831. width
  1832. DateFormat
  1833. svChecked
  1834. setCharacteristicsState
  1835. ccutClear
  1836. Clear
  1837. ccutClear
  1838. +",H4
  1839. dwidth
  1840. decimal
  1841. svline
  1842. dbFields
  1843. dname
  1844. width
  1845. dDecimal
  1846. cutClear
  1847. \Validate
  1848. aMoveData
  1849. p]BuildTag
  1850. CreateFile
  1851. buttonClick
  1852. svInvalidCounter
  1853. closeAllDBfiles
  1854. strSelTBFields
  1855. dName
  1856. Validate
  1857. createDBFieldTag
  1858. /setDBFieldTag
  1859. strTagErr
  1860. wTinitProgressViewer
  1861. Field
  1862. Creating Record Definition
  1863. Progress
  1864. dWidth
  1865. svdbName
  1866. Numeric
  1867. dName
  1868. dType
  1869. svTag
  1870. currentItem
  1871. strErrTag
  1872. dDecimal
  1873. BuildTag
  1874. +    ,    "j
  1875. +    ,    /
  1876. +    ,    #
  1877. +    ,    !
  1878. +    ,    !
  1879. strdBnameExist
  1880. npnameOnly
  1881. JfreeDBfieldtag
  1882. createDBfile
  1883. strSavedBaseFile
  1884. mm/dd/ccyy
  1885. strNo
  1886. setdBDateFormat
  1887. svdbName
  1888. strDBFileExists
  1889. /strYes
  1890. svTbName
  1891. svTag
  1892. 49strDBFileOpenError
  1893. strOK
  1894. openDBfile
  1895. strDBFileCreationError
  1896. CreateFile
  1897. .&+    +E
  1898. +    ,    #
  1899. +",!Y
  1900. +",!Y
  1901. ,%H.%
  1902. stopDB
  1903. DateFormat
  1904. saveTBName
  1905. -strErrSetDBF
  1906. strTBrecordError
  1907. svInvalidCounter
  1908. vToolBookFieldName
  1909. Record
  1910. HwriteDBrecord
  1911. wTinitProgressViewer
  1912. strErrRefdbField
  1913. currentItem
  1914. Progress
  1915. strErrDBFWrite
  1916. strNoNameOrType
  1917. dWidth
  1918. mm/dd/y
  1919. svTbName
  1920. hstrTBErrorRef
  1921. setDBFieldValue
  1922. dName
  1923. dType
  1924. Numeric
  1925. strErrNoDBF
  1926. Writing Data to File
  1927. dateFormat
  1928. dDecimal
  1929. MoveData
  1930. svInvalidCounter
  1931. qstrExportDone
  1932. svdbName
  1933. closeDBfile
  1934. default
  1935. stopDB
  1936. toolbookfields
  1937. dName
  1938. 06cleanUp
  1939. enterPage
  1940. toolbookfields
  1941. dName
  1942. 06cleanUp
  1943. leavePage
  1944. pPresetDataView
  1945. clear
  1946. toolbookfileName
  1947. toolbookFields
  1948. dbFields
  1949. remove
  1950. resetCharacteristics
  1951. cleanUp
  1952. author
  1953. strNotPage
  1954. enableFields
  1955. FALSE
  1956. widthLabel
  1957. nameLabel
  1958. TypeLabel
  1959. changeLabel
  1960. Width
  1961. resetCharacteristics
  1962. enableFields
  1963. FALSE
  1964. Alpha-Numeric
  1965. WidthLabel
  1966. nameLabel
  1967. TypeLabel
  1968. Width
  1969. changeLabel
  1970. width
  1971. svChecked
  1972. setCharacteristicsState
  1973. ccutClear
  1974. Clear
  1975. ccutClear
  1976. +",H4
  1977. dwidth
  1978. svline
  1979. dbFields
  1980. dname
  1981. width
  1982. cutClear
  1983. (exitPX
  1984. strdBnameExist
  1985. getPXErrorString
  1986. npnameOnly
  1987. ?createPXTable
  1988. dstrSavePXFile
  1989. strSelTBFields
  1990. amoveData
  1991. strNo
  1992. svdbName
  1993. wTinitProgressViewer
  1994. Field
  1995. Creating Record Definition
  1996. /strYes
  1997. Progress
  1998. Alpha-Numeric
  1999. dWidth
  2000. svTBName
  2001. Numeric
  2002. dName
  2003. dType
  2004. currentItem
  2005. -initializePX
  2006. strOK
  2007. Setting extension to ".db"
  2008. buttonClick
  2009. .&+    +E
  2010. +    ,    #
  2011. +",!Y
  2012. ,%H.%
  2013. hBlob
  2014. dWidth
  2015. GlobalAlloc
  2016. stopDB
  2017. pBlobData
  2018. saveTBName
  2019. -strErrSetDBF
  2020. strTBrecordError
  2021. strErrNoDBF
  2022. GlobalLock
  2023. strNoNameOrType
  2024. setPXBlob
  2025. vToolBookFieldName
  2026. svInvalidCounter
  2027. svdbName
  2028. Record
  2029. wTinitProgressViewer
  2030. strErrRefdbField
  2031. GlobalFree
  2032. currentItem
  2033. Progress
  2034. openPXTable
  2035. getPXErrorString
  2036. svTbName
  2037. hstrTBErrorRef
  2038. GlobalUnlock
  2039. dName
  2040. dType
  2041. yAppendPXrecord
  2042. hBlobData
  2043. Writing Data to File
  2044. closePXBlob
  2045. setPXFieldValue
  2046. openPXBlobWrite
  2047. moveData
  2048. closePXTable
  2049. svInvalidCounter
  2050. qstrExportDone
  2051. svdbName
  2052. default
  2053. stopDB
  2054.     `NV    o
  2055. OpenIndexFile
  2056. StopIndexWarning
  2057. PackDatabase
  2058. HelpForThisBook
  2059. Cannot open dBase file
  2060. strCantOpenDbaseFile
  2061. There are no records in this file.  Please click New Record to enter data.
  2062. strNoRecords
  2063. then open this book again.
  2064. Can't find tb30db3.dll.  Please copy this file to a directory
  2065. that's in your path, or change your path to include tb30db3.dll's directory,
  2066. strNoDLL
  2067. Please change the file position to a valid dBase record.  You must be positioned on a record before it can be deleted.
  2068. strInvalidRecord
  2069. Are you sure you want to delete this record?
  2070. strDeleteQuery
  2071. strOK
  2072. Cancel
  2073. strCancel
  2074. You have just deleted the last record in this file.
  2075.  A new blank record will be created.
  2076. strDeleteLast
  2077. modifying record
  2078. strModifyRecord
  2079. &dBase
  2080. strdBase
  2081. &Open Index File
  2082. strOpenIndexFile
  2083. &Pack Database
  2084. strPackDataBase
  2085. &Stop Index Warning
  2086. strStopIndexWarning
  2087. &Help For This Book
  2088. strHelpForThisBook
  2089. moving to
  2090. strMoveTo
  2091. getting next key value
  2092. strGetNextKey
  2093. deleting record
  2094. strDelRec
  2095. setting field value of field
  2096. strSetFldValue
  2097. getting field value of field
  2098. strGetFldValue
  2099. modifying record
  2100. strModRec
  2101. writing new record
  2102. strWriteRec
  2103. getting record count
  2104. strGetRec
  2105. getting record number
  2106. strGetRecNum
  2107. That record has been marked for deletion.
  2108. strMarkDelete
  2109. All records in Database are marked as deleted
  2110. strAllMarked
  2111. Unable to set record
  2112. as the current record.  Keeping current record.
  2113. strKeepRecord
  2114. navigating in dBase file
  2115. strNavigate
  2116. Only seven index files can be opened at once.
  2117. strOnly7
  2118. Please choose the index file to open.
  2119. strChooseIndex
  2120. Open Index File
  2121. strOpenIndex
  2122. is already open
  2123. strAlreadyOpen
  2124. Index file
  2125. cannot be opened.
  2126. strCantOpen
  2127. WARNING:  ToolBook has detected corruption of your dBase file.
  2128. strCorruptWarn
  2129. Author
  2130. strAuthor
  2131. strExit
  2132. w,    #?
  2133. Error encountered while
  2134. getDBerrorString
  2135. Error accessing dBase file
  2136. strGeneralError
  2137. Warning: If you alter a dBase file without opening
  2138. its corresponding index files, the index files will not be updated.
  2139. strWarning
  2140. You are already on the first key.
  2141. strFirstKey
  2142. You are already on the first record.
  2143. strFirstRec
  2144. You are already on the last key.
  2145. strLastKey
  2146. You are already on the last record.
  2147. strLastRec
  2148. Enter record number to go to.
  2149. strEnterRec
  2150. positioning by record number
  2151. strPosRec
  2152. is not a valid record number.
  2153. strNotValidRecNum
  2154. Enter field to search in, or a number "x" to search the first "x" fields.
  2155. strEnterField
  2156. Enter data to search for.
  2157. strEnterKey
  2158. is out of range.
  2159. strOutOfRange
  2160. +49L,
  2161. q1/rs
  2162. 6pGJ7
  2163. getPXErrorString
  2164. linkPX
  2165. splash
  2166. linkdBase
  2167. s_firstFlag
  2168. DBExchange
  2169. -initializePX
  2170. ]linkFile
  2171. strRuntime
  2172. enterApplication
  2173. (exitPX
  2174. leaveApplication
  2175. s_firstFlag
  2176. author
  2177. reader
  2178. reader
  2179. Export
  2180. export DBase
  2181. ImportFromDbaseFile
  2182. ExportToDbase
  2183. export Paradox
  2184. ExportToParadox
  2185. import Paradox
  2186. import Dbase
  2187. ImportFromParadox
  2188. menuItemSelected
  2189. .&+    +E
  2190. export
  2191. importing dBase to Toolbook
  2192. exchangeHelp
  2193. exporting ToolBook to dBase
  2194. svReturnPage
  2195. default
  2196. dBaseHelp
  2197. splash
  2198. aboutdBase
  2199. tb30dos.dll
  2200. fileExists
  2201. getFileList
  2202. tb30dlg.dll
  2203. TB30DOS.DLL
  2204. |strNoDll
  2205. kernel
  2206. OpenFileDlg
  2207. saveAsDlg
  2208. TB30DLG.DLL
  2209. GlobalAlloc
  2210. GlobalFree
  2211. GlobalLock
  2212. GlobalUnlock
  2213. linkFile
  2214. checkDBIndex
  2215. closeAllDBFiles
  2216. closeDBFile
  2217. closeDBIndexFile
  2218. createDBFieldTag
  2219. createDBFile
  2220. createDBIndexFile
  2221. deleteDBFile
  2222. deselectDBIndexFile
  2223. findDBKey
  2224. firstDBKey
  2225. firstDBRecord
  2226. freeDBFieldTag
  2227. getDBDateFormat
  2228. getDBErrorString
  2229. getDBFieldCount
  2230. getDBFieldName
  2231. getDBFieldPrecision
  2232. getDBFieldType
  2233. getDBFieldValue
  2234. getDBFieldWidth
  2235. getDBFileName
  2236. getDBIndexExpression
  2237. getDBIndexFileName
  2238. getDBKeyType
  2239. getDBKeyValue
  2240. getDBNavigateToDeleted
  2241. getDBRecordCount
  2242. getDBRecordDeleted
  2243. getDBRecordNumber
  2244. gotoDBRecord
  2245. lastDBKey
  2246. lastDBRecord
  2247. nextDBKey
  2248. nextDBRecord
  2249. openDBFile
  2250. openDBIndexFile
  2251. packDBFile
  2252. previousDBKey
  2253. previousDBRecord
  2254. reindexDBFile
  2255. removeDBRecords
  2256. selectDBFile
  2257. selectDBIndexFile
  2258. setDBDateFormat
  2259. setDBFieldTag
  2260. ,#T|    
  2261. setDBFieldValue
  2262. setDBNavigateToDeleted
  2263. setDBRecordDeleted
  2264. writeDBRecord
  2265. |strNoDLL
  2266. tb30DB3.DLL
  2267. Could not link to TB30db3.dll
  2268. TB30DB3.DLL
  2269. linkdBase
  2270. addPXKey
  2271. addPXPassword
  2272. addPXTable
  2273. appendPXRecord
  2274. clonePXBlob
  2275. ?oA-"
  2276. closePXBitmapWindow
  2277. @oA-"
  2278. closePXBlob
  2279. ,"TZ@oA-"
  2280. closePXTable
  2281. copyPXTable
  2282. createPXTable
  2283. decryptPXTable
  2284. deletePXPassword
  2285. deletePXRecord
  2286. deletePXTable
  2287. doesPXTableExist
  2288. dropPXBlob
  2289. @oA-"
  2290. dropPXKey
  2291. ,#T(    oA-"
  2292. emptyPXField
  2293. emptyPXRecord
  2294. emptyPXTable
  2295. encryptPXTable
  2296. exitPX
  2297. freePXGraphicBlob
  2298. BoA-"
  2299. freePXGraphicBlobPalette
  2300. BoA-"
  2301. firstPXRecord
  2302. getPXBitmapSize
  2303. EoA.%
  2304. getPXBlob
  2305. EoA.%
  2306. getPXBlobQuick
  2307. FoA.%
  2308. getPXBlobSize
  2309. GoA.%
  2310. getPXErrorString
  2311. getPXFieldCount
  2312. getPXFieldNames
  2313. getPXFieldType
  2314. getPXFieldValue
  2315. getPXFileSize
  2316. ,    U(HoA.%
  2317. getPXGraphicBlob
  2318. HoA.%
  2319. getPXGraphicBlobPalette
  2320. ,"U$JoA.%
  2321. getPXKeyFieldCount
  2322. getPXMaxFiles
  2323. getPXMaxLocks
  2324. getPXMaxTables
  2325. getPXSwapSizeFromINI
  2326. getPXMaxTablesFromINI
  2327. getPXMaxFilesFromINI
  2328. getPXMaxLocksFromINI
  2329. getPXMemoBlob
  2330. ,"UlKoAg    
  2331. getPXNetErrorUser
  2332. getPXNetUserName
  2333. getPXRaw
  2334. getPXRawDataSize
  2335. getPXRecordCount
  2336. getPXRecordNumber
  2337. getPXSortOrder
  2338. getPXSwapSize
  2339. getPXUserInfo
  2340. gotoPXNetRecordLock
  2341. gotoPXRecord
  2342. initializePX
  2343. insertPXRecord
  2344. isPXNetRecordLocked
  2345. ,    T,"oA-"
  2346. isPXNetTableChanged
  2347. "oA-"
  2348. isPXTableProtected
  2349. "oA-"
  2350. lastPXRecord
  2351. ,    Tp#oA-"
  2352. lockPXNetFile
  2353. $oA-"
  2354. lockPXNetRecord
  2355. ,    U@$oA.%
  2356. lockPXNetTable
  2357. $oA-"
  2358. mapPXKey
  2359. $oA.%
  2360. nextPXRecord
  2361. ,    Tx&oA-"
  2362. openPXBitmapWindow
  2363. KoA.%
  2364. openPXBlobRead
  2365. MoA.%
  2366. openPXBlobWrite
  2367. NoA.%
  2368. openPXTable
  2369. &oA-"
  2370. packPXTable
  2371. (oA-"
  2372. previousPXRecord
  2373. ,    Tx)oA-"
  2374. queryPXKey
  2375. )oAg    
  2376. refreshPXNetTable
  2377. ,    T6,oA-"
  2378. renamePXTable
  2379. ,oA-"
  2380. savePX
  2381. ,oA-"
  2382. searchPXField
  2383. -oA-"
  2384. searchPXKey
  2385. -oA-"
  2386. setPXBitmapWindowInfo
  2387. PoA-"
  2388. setPXBlob
  2389. QoA-"
  2390. setPXBlobFromFile
  2391. RoA-"
  2392. setPXFieldValue
  2393. 1oA-"
  2394. setPXGraphicBlob
  2395. SoA-"
  2396. setPXGraphicBlobFromFile
  2397. RoA-"
  2398. setPXINIMaxFiles
  2399. 2oA-"
  2400. setPXINIMaxLocks
  2401. 2oA-"
  2402. setPXINIMaxTables
  2403. 2oA-"
  2404. setPXMemoBlob
  2405. WoA-"
  2406. setPXRaw
  2407. ,"Tf3oA-"
  2408. setPXSortOrder
  2409. 3oA-"
  2410. setPXINISwapSize
  2411. 4oA-"
  2412. setPXTableCreateMode
  2413. 4oA-"
  2414. setPXTableMaxSize
  2415. 4oA-"
  2416. setPXUserInfo
  2417. 4oA-"
  2418. unlockPXNetFile
  2419. 6oA-"
  2420. unlockPXNetRecord
  2421. ,"TF6oA-"
  2422. unlockPXNetTable
  2423. 6oA-"
  2424. updatePXRecord
  2425. 6oA-"
  2426. upgradePXTable
  2427. ,    T:7oA-"
  2428. writePXBlobToFile
  2429. XoA.%
  2430. writePXGraphicBlobToFile
  2431. XoA.%
  2432. tb30PDX.DLL
  2433. linkPX
  2434. 1,    "L
  2435. ,!J/"
  2436. ,!J`"
  2437. ,!J@"
  2438. FALSE
  2439. isAlNum
  2440. 1,    "L
  2441. ,!J@"
  2442. ,!J`"
  2443. FALSE
  2444. isAlpha
  2445. isNum
  2446. isPosInt
  2447. nameOnly
  2448. strHelp
  2449. Copyright (c) 1991 - 1994 -- Asymetrix Corporation
  2450. dBaseIII (tm) - Paradox (tm) - ToolBook (tm) Exchange
  2451. strAboutDbase
  2452. Please close all other instances of ToolBook.
  2453. strCloseInstances
  2454. This application will only work with the full authoring ToolBook system. It will now close, please restart it using TB30.EXE
  2455. strRuntime
  2456. &dBase
  2457. strdbf
  2458. There was an error creating dBase file:
  2459. strDBFileCreationError
  2460. There was an error opening dBase file:
  2461. strDBFileOpenError
  2462. There is no current dBase file. Please select one.
  2463. strErrNoDBF
  2464. Error referencing dBase field:  
  2465. strErrRefdbField
  2466. Error writing dBase record.
  2467. strErrDBFWrite
  2468. There was an error setting value of dBase field: 
  2469. strErrSetDBF
  2470. Error creating dBase field tag.
  2471. strErrTag
  2472. FALSE
  2473. There was an error running TB30.exe.
  2474. strErrTbkExe
  2475. field(s) with
  2476. invalid data.
  2477. Export completed:  There were
  2478. Export completed.
  2479. strExportDone
  2480. No dBase fields have been selected yet.
  2481. strNoDBFFields
  2482. . Please copy this file to a directory that's in your path, or change your path to include
  2483. Can't find
  2484. 's directory, then open this book again.
  2485. strNoDLL
  2486. Please select ToolBook fields for export.
  2487. strSelTBFields
  2488. Please enter a dBase file name.
  2489. strSetDBName
  2490. Error setting field tag for field 
  2491. strTagErr
  2492. There was an error referencing book:  
  2493. strTBErrorRef
  2494. Error referencing record field:
  2495. strTBrecordError
  2496. Please enter a valid dBase file name.
  2497. strEnterDBfile
  2498. File cannot be opened.  Please enter a valid dBase file name.
  2499. strNoOpenDBfile
  2500. There is no name or type for one of the fields. Please set the values.
  2501. strNoNameOrType
  2502. Please select a dBase file name.
  2503. strSeldBFileName
  2504. Error listing fields for this dBase file.
  2505. strErrListdBFile
  2506. Please select a ToolBook file name.
  2507. strSelTBKFileName
  2508. No named, ungrouped record fields were found on the last page of this ToolBook file.
  2509. strNoNameRecFfl
  2510. Two or more record fields share the same name in this book.  Please give all recordfields unique names.
  2511. strTwoShareName
  2512. There are no records in this dBase file.
  2513. strNoRecIndBase
  2514. Error getting the first record in this dBase file.
  2515. strErrorFirstdBRec
  2516. in record number
  2517. Error getting value for field
  2518. strErrorGetdBValue
  2519. in record number
  2520. Error setting value for record field
  2521. strErrSetdBValue
  2522. You are importing more fields than can be displayed on the page.
  2523. You will have to arrange the fields after the book is built.
  2524. strToManyFlds
  2525. strOK
  2526. Cancel
  2527. strCancel
  2528. Please choose the book to export.
  2529. strPlChooseBook
  2530. Choose Book
  2531. strChooseBook
  2532. Please choose the dBase file to import.
  2533. strPlChooseDbase
  2534. Choose dBase File
  2535. strChoosedBase
  2536. .dbf field.
  2537. You have exceeded the size limits of a 
  2538. strFieldOverrun
  2539. Decimal precision must be either zero or at least two less than the field width.
  2540. strPrecisionError
  2541. Enter the ToolBook date format of the text in record field
  2542. strAskDateFormat
  2543. Filename
  2544. already exists. Replace it?
  2545. strdBnameExist
  2546. Save dBase file as:
  2547. strSavedBaseFile
  2548. Save Paradox file as:
  2549. strSavePXFile
  2550. Character width must be between 1 and 255.
  2551. strCharWidth
  2552. Numeric width must be between 1 and 19.
  2553. strNumWidth
  2554. Width cannot be blank.
  2555. strWidthNull
  2556. Decimal cannot be blank.
  2557. strDecimalNull
  2558. Decimal cannot be greater than 15.
  2559. strDecimal15
  2560. A dBase field name can only be up to 10 characters.
  2561. strNameToLarge
  2562. A dBase field name cannot have a blank name.
  2563. strNameNull
  2564. A dBase field name cannot start with a number.
  2565. strChar1Num
  2566. This is not a functioning page for this book.  It is used to build the front end.
  2567. strNotPage
  2568. strYes
  2569. fields if you
  2570. You can only build the new application with
  2571. don't include label fields. Do you want to eliminate the label fields?
  2572. strTooTooManyFields
  2573. Please try again with less fields.
  2574. You have selected more fields than this application can handle.
  2575. strWayTooManyFields
  2576. No label fields
  2577. strNoLabels
  2578. strNo
  2579. xstrCantOpendBaseFile
  2580. linkdBase
  2581. tb30dlg.dll
  2582. +!openFileDlg
  2583. Frontend
  2584. =QpDBasefileName
  2585. openDBFile
  2586. enterApplication
  2587. first
  2588. false
  2589. currentRecord
  2590. svKey
  2591. setDBNavigateToDeleted
  2592. PupdateDisplay
  2593. checkError
  2594. @noIndex
  2595. enterPage
  2596. exitDB
  2597. leaveApplication
  2598. checkDBIndex
  2599. closeAllDBFiles
  2600. closeDBFile
  2601. closeDBIndexFile
  2602. createDBFieldTag
  2603. createDBFile
  2604. createDBIndexFile
  2605. deleteDBFile
  2606. deselectDBIndexFile
  2607. findDBKey
  2608. firstDBKey
  2609. firstDBRecord
  2610. freeDBFieldTag
  2611. getDBDateFormat
  2612. getDBErrorString
  2613. getDBFieldCount
  2614. getDBFieldName
  2615. getDBFieldPrecision
  2616. getDBFieldType
  2617. getDBFieldValue
  2618. getDBFieldWidth
  2619. getDBFileName
  2620. getDBIndexExpression
  2621. getDBIndexFileName
  2622. getDBKeyType
  2623. getDBKeyValue
  2624. getDBNavigateToDeleted
  2625. getDBRecordCount
  2626. getDBRecordDeleted
  2627. getDBRecordNumber
  2628. gotoDBRecord
  2629. lastDBKey
  2630. lastDBRecord
  2631. nextDBKey
  2632. nextDBRecord
  2633. openDBFile
  2634. openDBIndexFile
  2635. packDBFile
  2636. previousDBKey
  2637. previousDBRecord
  2638. reindexDBFile
  2639. removeDBRecords
  2640. selectDBFile
  2641. selectDBIndexFile
  2642. setDBDateFormat
  2643. setDBFieldTag
  2644. setDBFieldValue
  2645. setDBNavigateToDeleted
  2646. setDBRecordDeleted
  2647. writeDBRecord
  2648. |strNoDLL
  2649. tb30DB3.DLL
  2650. linkdBase
  2651. author
  2652. yhelpText
  2653. statusBar
  2654. mouseEnter
  2655. getDBRecordNumber
  2656. currentRecord
  2657. getDBRecordCount
  2658. totalRecords
  2659. getDBFieldValue
  2660. checkError
  2661. fieldValue
  2662. KustrDataInvalid
  2663. setDBFieldValue
  2664. fieldValue
  2665. 9FgetDBKeyValue
  2666. checkError
  2667. readKeyValue
  2668. reading index Expression
  2669. checkError
  2670. getDBIndexExpression
  2671. readIndexExpression
  2672. strDelRec
  2673. newRecord
  2674. setDBrecordDeleted
  2675. PupdateDisplay
  2676. PupdateWarning
  2677. checkError
  2678. lastDBRecord
  2679. CVstrDeleteLast
  2680. getDBrecordDeleted
  2681. strCancel
  2682. strOK
  2683. strDeleteQuery
  2684. deleteRecord
  2685. PupdateWarning
  2686. strInvalidRecord
  2687. HwriteDBrecord
  2688. checkError
  2689. strModRec
  2690. getDBRecordDeleted
  2691. updateDB
  2692. clearFields
  2693. strGetRec
  2694. HwriteDBrecord
  2695. strWriteRec
  2696. getDBRecordCount
  2697. svTotalRecords
  2698. checkError
  2699. newRecord
  2700. ,%H.%
  2701. chooseIndex
  2702. sortCheck
  2703. vIndexFile
  2704. No index file is currently selected
  2705. 1deselectDBIndexFile
  2706. vIndexFiles
  2707. No index files are open
  2708. closeDBIndexFile
  2709. @noIndex
  2710. closeIndexFile
  2711. chooseIndex
  2712. sortCheck
  2713. enableFields
  2714. FALSE
  2715. sortExpressionLabel
  2716. currentKeyValue
  2717. findKey
  2718. sortbylabel
  2719. SortExpression
  2720. enableComboboxes
  2721. currentKeyValueLabel
  2722. vFieldList
  2723. noIndex
  2724. closeAllDBFiles
  2725. exitDB
  2726. w,    #?
  2727. chooseIndex
  2728. npnameOnly
  2729. lstrOnly7
  2730. enableFields
  2731. Index file (*.NDX),*.NDX
  2732. vFileName
  2733. sortExpressionLabel
  2734. sortCheck
  2735. strAlreadyOpen
  2736. strChooseIndex
  2737. currentKeyValueLabel
  2738. getBDErrorString
  2739. getDBRecordNumber
  2740. sortbylabel
  2741. OpenFileDlg
  2742. openDBIndexFile
  2743. 1reindexDBFile
  2744. gotoDBRecord
  2745. enableComboboxes
  2746. strCantOpen
  2747. closeDBIndexFile
  2748. FindKey
  2749. vFieldList
  2750. openIndex
  2751. .&+    +E
  2752. packdBFile
  2753. first
  2754. WcurrentRecord
  2755. getDBErrorString
  2756. PupdateDisplay
  2757. default
  2758. packDatabase
  2759. stopIndexWarning
  2760. checked
  2761. stopIndexWarning
  2762. dBase FrontEndHelp
  2763. helpForThisBook
  2764. strNavigate
  2765. findDBKey
  2766. checkError
  2767. searchForKey
  2768. strWarning
  2769. stopIndexWarning
  2770. strCancel
  2771. strOK
  2772. checked
  2773. updateWarning
  2774. nextDBrecord
  2775. strFirstRec
  2776. first
  2777. DSstrKeepRecord
  2778. svKey
  2779. strLastRec
  2780. nextDBkey
  2781. WcurrentRecord
  2782. firstDBkey
  2783. currentRecord
  2784. previous
  2785. lastDBrecord
  2786. isPositiveInteger
  2787. "FfirstDBrecord
  2788. `previousDBkey
  2789. gotoDBRecord
  2790. lastDBkey
  2791. Failed
  2792. previousDBrecord
  2793. strAllMarked
  2794. currentRecord
  2795. strGeneralError
  2796. strAuthor
  2797. ZstrExit
  2798. strauthor
  2799. strCorruptWarn
  2800. checkError
  2801. false
  2802. isPositiveInteger
  2803. nameOnly
  2804. R@TRUE
  2805. Label
  2806. I@enableFields
  2807. I@enableComboboxes
  2808. FrontEnd
  2809. DBExchange
  2810. frontEnd
  2811. PXFrontEnd
  2812. RecordCounter
  2813. totalItems
  2814. RecordCounter
  2815. vProgress
  2816. percentage
  2817. currentItem
  2818. ,!JdY
  2819. currentPercent
  2820. currentBar
  2821. fullBar
  2822. percentage
  2823. RecordCounter
  2824. ItemType
  2825. RecordCounter
  2826. totalItems
  2827. RecordCounter
  2828. currentItem
  2829. currentPercent
  2830. percentage
  2831. %-tabNode
  2832. FALSE
  2833. J,tabMode
  2834. enterPage
  2835. }dBaseHelp
  2836. goPage
  2837. tablabel
  2838. tabPressed
  2839. tabname
  2840. J,tabMode
  2841. obtype
  2842. tabNum
  2843. buttonClick
  2844. FALSE
  2845. etabLimit
  2846. Cannot set tab
  2847. tabPressed
  2848. myTabMode
  2849. tabMode
  2850. tabLimit
  2851. myTabMode
  2852. tabMode
  2853. mytabheight
  2854. tabHeight
  2855. myTabHeight
  2856. tabHeight
  2857. arrangeTabs
  2858. myTabSpace
  2859. tabSpace
  2860. myTabSpace
  2861. tabSpace
  2862. w,    #?
  2863. manual
  2864. FALSE
  2865. myNumTabs
  2866. etabLimit
  2867. Can only have
  2868. Must have at least 1 tab
  2869. arrangeTabs
  2870. numTabs
  2871. mynumtabs
  2872. numTabs
  2873. manual
  2874. tabRef
  2875. mynumTabs
  2876. tabLabel
  2877. tabHighlight
  2878. tabHeight
  2879. arrangeTabs
  2880. myNumTabs
  2881. obtype
  2882. highlight
  2883. mytabheight
  2884. sized
  2885. w,    #>
  2886. myTabMode
  2887. tname
  2888. myNumTabs
  2889. mytabspace
  2890. anchor
  2891. arrangeTabs
  2892. npnameOnly
  2893. closeAllDBFiles
  2894. selectAllFields
  2895. listDatabaseFields
  2896. dBIII file (*.dbf), *.dbf
  2897. databaseFields
  2898. getDBErrorString
  2899. OpenFileDlg
  2900. svdbName
  2901. DBaseFilename
  2902. DatabaseFields
  2903. oRstrPLChooseDB
  2904. openDBFile
  2905. buttonClick
  2906. .&+    +E
  2907. .&+    +E
  2908. strSeldBFileName
  2909. strErrListdBFile
  2910. DBfilename
  2911. svdbName
  2912. buildDBFieldList
  2913. databasefields
  2914. listDatabaseFields
  2915. ,%H.%
  2916. getDBFieldCount
  2917. LgetDBFieldName
  2918. buildDBFieldList
  2919. .&+    +E
  2920. sysSuspendMessages = TRUE;go to first page; send selectpage; send clear
  2921. DBase FrontEndHelp
  2922. npnameOnly
  2923. DBase Browser
  2924. databaseFields
  2925. 06cleanUp
  2926. FALSE
  2927. ToolBook
  2928. createDBBook
  2929. FrontEnd
  2930. databasefields
  2931. activeWindow = windowHandle of viewer id 0
  2932. send enterApplication;send enterPage;send save
  2933. strWayTooManyFields
  2934. addDatabaseFields
  2935. svdbName
  2936. closeAlldBFiles
  2937. strTooToomanyFields
  2938. dataBaseFields
  2939. >QpDBasefileName
  2940. titleField
  2941. Databasefields
  2942. strCancel
  2943. strNoLabels
  2944. buttonClick
  2945. getPXErrorString
  2946. npnameOnly
  2947. selectAllFields
  2948. closePXTable
  2949. Paradox database (*.db), *.db
  2950. listDatabaseFields
  2951. OpenFileDlg
  2952. DBexchng
  2953. openPXTable
  2954. svdbName
  2955. Paradoxfilename
  2956. Choose a Paradox database to import.
  2957. DatabaseFields
  2958. buttonClick
  2959. .&+    +E
  2960. .&+    +E
  2961. strSeldBFileName
  2962. buildParadoxFieldList
  2963. svdbName
  2964. Paradoxfilename
  2965. databasefields
  2966. error checking for field names in Paradox File
  2967. listDatabaseFields
  2968. DBEXCHNG
  2969. getPXFieldNames
  2970. buildParadoxFieldList
  2971. .&+    +E
  2972. Paradox browser
  2973. npnameOnly
  2974. frontEnd
  2975. DatabaseFields
  2976. 06cleanUp
  2977. FALSE
  2978. ToolBook
  2979. createDBBook
  2980. PXFrontEnd
  2981. sysSuspendMessages = TRUE;go to first page; send selectpage; send clear
  2982. activeWindow = windowhandle of viewer id 0
  2983. send enterApplication;send enterPage;send save
  2984. strWayTooManyFields
  2985. addDatabaseFields
  2986. svdbName
  2987. strTooToomanyFields
  2988. pParadoxFileName
  2989. titleField
  2990. Databasefields
  2991. strCancel
  2992. strNoLabels
  2993. Paradox FrontEndHelp
  2994. buttonClick
  2995. w,    />
  2996. +",H3
  2997. +    ,    #
  2998. V,    #>
  2999. V,    #>
  3000. +",H4
  3001. +",H4
  3002. +",H4
  3003. +",H4
  3004. vSourceBackground
  3005. saveTBName
  3006. saveTBName
  3007. clear
  3008. svLine
  3009. vDecimal
  3010. Field
  3011. vWidth
  3012. ToolBookFields
  3013. setDataView
  3014. dbFields
  3015. dWidth
  3016. remove
  3017. svTbName
  3018. dbfields
  3019. ^qguessFieldInfo
  3020. dName
  3021. dType
  3022. ucheckName
  3023. dDecimal
  3024. setCharacteristicsState
  3025. buttonClick
  3026. ,%H.%
  3027. vName
  3028. 2DisAlNum
  3029. isNum
  3030. checkName
  3031. -",    #>
  3032. -",    #>
  3033. -",    #>
  3034. Character,
  3035. Logical,1, 
  3036. Numeric,
  3037. memo,10, 
  3038. mm/dd/yy
  3039. isNum
  3040. Date,8, 
  3041. guessFieldInfo
  3042. w,    />
  3043. w,    />
  3044. pPresetDataView
  3045. saveTBName
  3046. saveTBName
  3047. clear
  3048. dDecimal
  3049. toolbookFields
  3050. dbFields
  3051. dWidth
  3052. resetCharacteristics
  3053. dName
  3054. dType
  3055. svLine
  3056. buttonClick
  3057. +",H4
  3058. +",H4
  3059. +",H4
  3060. dwidth
  3061. N+strCharWidth
  3062. Decimal
  3063. Z&strPrecisionError
  3064. svLine
  3065. Character
  3066. dbFields
  3067. dWidth
  3068. Numeric
  3069. 0123456789
  3070. strNumWidth
  3071. svChecked
  3072. keyChar
  3073. w,    #?
  3074. N+strCharWidth
  3075. decimal
  3076. CstrWidthNull
  3077. Character
  3078. Numeric
  3079. Decimal
  3080. strNumWidth
  3081. svChecked
  3082. leaveField
  3083. w,    />
  3084. +",H3
  3085. w,    />
  3086. +",H3
  3087. 1,    "Q
  3088. +",H4
  3089. +",H4
  3090. +",H4
  3091. TBRecordFieldtext
  3092. DateFormat
  3093. dDecimal
  3094. TBRecordFieldText
  3095. vDecimal
  3096. DateFormat
  3097. vWidth
  3098. svLine
  3099. character
  3100. dWidth
  3101. setCharacteristicsState
  3102. numeric
  3103. dType
  3104. logical
  3105. svChecked
  3106. buttonClick
  3107. +",H4
  3108. +",H4
  3109. Z&strPrecisionError
  3110. dDecimal
  3111. svLine
  3112. dbFields
  3113. 0123456789
  3114. width
  3115. strDecimal15
  3116. keyChar
  3117. {strDecimalNull
  3118. Z&strPrecisionError
  3119. width
  3120. strDecimal15
  3121. leaveField
  3122. w,    />
  3123. +",H3
  3124. +    ,    #
  3125. V,    #>
  3126. V,    #>
  3127. +",H4
  3128. +",H4
  3129. +",H4
  3130. vSourceBackground
  3131. saveTBName
  3132. saveTBName
  3133. clear
  3134. svLine
  3135. vDecimal
  3136. Field
  3137. vWidth
  3138. ToolBookFields
  3139. setDataView
  3140. dbFields
  3141. dWidth
  3142. remove
  3143. svTbName
  3144. dbfields
  3145. ^qguessFieldInfo
  3146. dName
  3147. dType
  3148. ucheckName
  3149. setCharacteristicsState
  3150. buttonClick
  3151. ,%H.%
  3152. vName
  3153. 2DisAlNum
  3154. isNum
  3155. checkName
  3156. -",    #>
  3157. Numeric,,
  3158. Alpha-Numeric,
  3159. memo,10, 
  3160. mm/dd/yy
  3161. isNum
  3162. Date,, 
  3163. guessFieldInfo
  3164. +",H4
  3165. +",H4
  3166. +",H4
  3167. N+strCharWidth
  3168. Decimal
  3169. Z&strPrecisionError
  3170. svLine
  3171. Alpha-Numeric
  3172. dbFields
  3173. dWidth
  3174. Numeric
  3175. 0123456789
  3176. strNumWidth
  3177. svChecked
  3178. keyChar
  3179. w,    #?
  3180. N+strCharWidth
  3181. decimal
  3182. CstrWidthNull
  3183. Alpha-Numeric
  3184. Numeric
  3185. Decimal
  3186. strNumWidth
  3187. svChecked
  3188. leaveField
  3189. set syschangesdb to FALSE; send exit
  3190. FALSE
  3191. ToolBook
  3192. createDBBook
  3193. addDatabaseFields
  3194. svdbName
  3195. send save;send sizeToPage;activeWindow = windowhandle of viewer id 0;send reader
  3196. ObtransferDatabaseData
  3197. DatabaseFields
  3198. buttonClick
  3199. globallock
  3200. hBlob
  3201. XgetPXBlobSize
  3202. getPXErrorString
  3203. hPrivateBlob
  3204. getPXFieldType
  3205. bfirstPXRecord
  3206. ToolBook
  3207. getPXBlob
  3208. Record
  3209. set focus to null; select this page; send clear
  3210. wTinitProgressViewer
  3211. B F O G
  3212. Progress
  3213. DBexchng
  3214. vCurrentField
  3215. popenPXBlobRead
  3216. Transferring Data
  3217. globalUnlock
  3218. getPXfieldvalue
  3219. BLOB Field Ignored
  3220. send newPage
  3221. currentItem
  3222. getPXRecordCount
  3223. closePXBlob
  3224.     8nextPXRecord
  3225. progress
  3226. transferDatabaseData
  3227. FALSE
  3228. send save;send sizeToPage;activeWindow = windowhandle of viewer id 0;send reader;send sizeToPage
  3229. ToolBook
  3230. createDBBook
  3231. set sysChangesDB to FALSE; send exit
  3232. addDatabaseFields
  3233. svdbName
  3234. ObtransferDatabaseData
  3235. dataBaseFields
  3236. buttonClick
  3237. >strNoRecInPX
  3238. curFld
  3239. ToolBook
  3240. Record
  3241. set focus to null; select this page; send clear
  3242. wTinitProgressViewer
  3243. Progress
  3244. getDBRecordCount
  3245. nextDBRecord
  3246. vCurrentField
  3247. "FfirstDBRecord
  3248. Transferring Data
  3249. send newPage
  3250. pGstrErrorFirstdBRec
  3251. getDBfieldvalue
  3252. currentItem
  3253. getdbRecordDeleted
  3254. CstrErrorGetdBValue
  3255. transferDatabaseData
  3256. default
  3257. enterPage
  3258. Label
  3259. enableFields
  3260. changeExtension
  3261. totalItems
  3262. |itemType
  3263. Progress
  3264. currentItem
  3265. initProgressViewer
  3266. yhelpText
  3267. statusBar
  3268. mouseEnter
  3269. .&+    +E
  3270. FALSE
  3271. forward
  3272. system s_dbExLastFocus
  3273. tb30.exe
  3274. ToolBook
  3275. center
  3276. rsstrNoDBFFields
  3277. Choose name for new book
  3278. if s_dbExLastFocus <> focus
  3279. s_dbExLastFocus = focus
  3280. ToolBook (*.TBK), *.TBK)
  3281. save as
  3282. end idle
  3283. changeExtension
  3284. , TRUE
  3285. end if
  3286. dataBaseFields
  3287. saveAsDLG
  3288. default
  3289. to handle idle
  3290. 7strErrTbkExe
  3291. CreateDBBook
  3292. ,%H.%
  3293. First
  3294. script
  3295. Building DatabaseFields
  3296. CopyField
  3297. Previous
  3298. wTinitProgressViewer
  3299. Field
  3300. FALSE
  3301. currentItem
  3302. Progress
  3303. autoPageNumber
  3304. ;lstrToManyFlds
  3305. frontEnd
  3306. Search
  3307. Database Records
  3308. labelField
  3309. addDatabaseFields
  3310. enableFields
  3311. FALSE
  3312. field "TBRecordFieldName", field "TBRecordFieldText"
  3313. field "viewLabel", field "TBNameLabel", field "TBTextLabel",
  3314. resetDataView
  3315. TBRecordFieldName
  3316. TBRecordFieldText
  3317. enableFields
  3318. field "viewLabel", field "TBNameLabel", field "TBTextLabel"
  3319. vControlList
  3320. setDataView
  3321. .&+    +E
  3322. 0\dupStrs
  3323. strNoNameRecFfl
  3324. vbuildRecordFieldList
  3325. toolbookfilename
  3326. toolbookFields
  3327. svTbName
  3328. strSelTBKFileName
  3329. strTwoShareName
  3330. default
  3331. listToolBookFields
  3332. +    ,    #
  3333. recordfield
  3334. group
  3335. svBkName
  3336. svTbName
  3337. buildRecordFieldList
  3338. FALSE
  3339. dupStrs
  3340. dataBaseFields
  3341. 06cleanUp
  3342. enterPage
  3343. svdbName
  3344. closeDBFile
  3345. dataBaseFields
  3346. 06cleanUp
  3347. leavePage
  3348. previous
  3349. button "selectAllFields", button "unselectAllFields",
  3350. field "DBaseFileName", field "dataBaseFields"
  3351. button "ImportToRecordFields", button "ImportToFrontEnd"
  3352. cleanUP
  3353. w,    #?
  3354. disablePage
  3355. level
  3356. page of this
  3357. enterPage
  3358. w,    #?
  3359. go to
  3360. level
  3361. page of this
  3362. buttonClick
  3363. prop_level
  3364. invalid level for widget:
  3365. background, book
  3366. must be "background" or "book"
  3367. level
  3368. prop_level
  3369. level
  3370. First
  3371. must be "Next", "Previous", "First", or "Last"
  3372. invalid direction for widget:
  3373. Next,Previous,First,Last
  3374. disablePage
  3375. direction
  3376. direction
  3377. prop_disablePage
  3378. invalid disablePage:
  3379. First, last
  3380. must be "First" or "Last"
  3381. disablePage
  3382. prop_disablePage
  3383. disablePage
  3384. w,    #?
  3385. disablePage
  3386. level
  3387. page of this
  3388. enterPage
  3389. w,    #?
  3390. go to
  3391. level
  3392. page of this
  3393. buttonClick
  3394. prop_level
  3395. invalid level for widget:
  3396. background, book
  3397. must be "background" or "book"
  3398. level
  3399. prop_level
  3400. level
  3401. First
  3402. must be "Next", "Previous", "First", or "Last"
  3403. invalid direction for widget:
  3404. Next,Previous,First,Last
  3405. disablePage
  3406. direction
  3407. direction
  3408. prop_disablePage
  3409. invalid disablePage:
  3410. First, last
  3411. must be "First" or "Last"
  3412. disablePage
  3413. prop_disablePage
  3414. disablePage
  3415. w,    #?
  3416. disablePage
  3417. level
  3418. page of this
  3419. enterPage
  3420. w,    #?
  3421. go to
  3422. level
  3423. page of this
  3424. buttonClick
  3425. prop_level
  3426. invalid level for widget:
  3427. background, book
  3428. must be "background" or "book"
  3429. level
  3430. prop_level
  3431. level
  3432. First
  3433. must be "Next", "Previous", "First", or "Last"
  3434. invalid direction for widget:
  3435. Next,Previous,First,Last
  3436. disablePage
  3437. direction
  3438. direction
  3439. prop_disablePage
  3440. invalid disablePage:
  3441. First, last
  3442. must be "First" or "Last"
  3443. disablePage
  3444. prop_disablePage
  3445. disablePage
  3446. w,    #?
  3447. disablePage
  3448. level
  3449. page of this
  3450. enterPage
  3451. w,    #?
  3452. go to
  3453. level
  3454. page of this
  3455. buttonClick
  3456. prop_level
  3457. invalid level for widget:
  3458. background, book
  3459. must be "background" or "book"
  3460. level
  3461. prop_level
  3462. level
  3463. First
  3464. must be "Next", "Previous", "First", or "Last"
  3465. invalid direction for widget:
  3466. Next,Previous,First,Last
  3467. disablePage
  3468. direction
  3469. direction
  3470. prop_disablePage
  3471. invalid disablePage:
  3472. First, last
  3473. must be "First" or "Last"
  3474. disablePage
  3475. prop_disablePage
  3476. disablePage
  3477. )npd*J
  3478. queryPXKey
  3479. getPXErrorString
  3480. tb30dos.dll
  3481. removeExtension
  3482. getFileList
  3483. database
  3484. linkPX
  3485. - PRIMARY
  3486. <getPXKeyFieldCount
  3487. getFileList
  3488. filePath
  3489. Paradox FrontEnd
  3490. keyFields
  3491. -initializePX
  3492. indexArray
  3493. openPXTable
  3494. textlineToList
  3495. GlobalLock
  3496. GlobalUnlock
  3497. GlobalFree
  3498. frontEnd
  3499. fieldNamesFromHandles
  3500. chooseIndex
  3501. kernel
  3502. keyFieldCount
  3503. PupdateDisplay
  3504. OpenFileDlg
  3505. textLineToList
  3506. tb30DLG.DLL
  3507. pParadoxfileName
  3508. getPXFieldNames
  3509. enterApplication
  3510. (exitPX
  3511. leaveApplication
  3512. author
  3513. yhelpText
  3514. statusBar
  3515. mouseEnter
  3516. addPXKey
  3517. addPXPassword
  3518. addPXTable
  3519. appendPXRecord
  3520. clonePXBlob
  3521. closePXBitmapWindow
  3522. closePXBlob
  3523. closePXTable
  3524. copyPXTable
  3525. createPXTable
  3526. decryptPXTable
  3527. deletePXPassword
  3528. deletePXRecord
  3529. deletePXTable
  3530. doesPXTableExist
  3531. dropPXBlob
  3532. dropPXKey
  3533. emptyPXField
  3534. emptyPXRecord
  3535. emptyPXTable
  3536. encryptPXTable
  3537. exitPX
  3538. freePXGraphicBlob
  3539. freePXGraphicBlobPalette
  3540. firstPXRecord
  3541. getPXBitmapSize
  3542. getPXBlob
  3543. getPXBlobQuick
  3544. getPXBlobSize
  3545. ,"UdexA.%
  3546. getPXErrorString
  3547. getPXFieldCount
  3548. getPXFieldNames
  3549. ,    Uer
  3550. getPXFieldType
  3551. ,    U+!M
  3552. getPXFieldValue
  3553. ,    U,    
  3554. getPXFileSize
  3555. ,    ULine.%
  3556. getPXGraphicBlob
  3557. ,"Utb30.%
  3558. getPXGraphicBlobPalette
  3559. getPXKeyFieldCount
  3560. getPXMaxFiles
  3561. getPXMaxLocks
  3562. tb3-"
  3563. getPXMaxTables
  3564. T.dll-"
  3565. getPXSwapSizeFromINI
  3566. getPXMaxTablesFromINI
  3567. getPXMaxFilesFromINI
  3568. getPXMaxLocksFromINI
  3569. ,#T-"
  3570. getPXMemoBlob
  3571. getPXNetErrorUser
  3572. getPXNetUserName
  3573. getPXRaw
  3574. getPXRawDataSize
  3575. getPXRecordCount
  3576. Par.%
  3577. getPXRecordNumber
  3578. ,    Uront.%
  3579. getPXSortOrder
  3580. getPXSwapSize
  3581. getPXUserInfo
  3582. gotoPXNetRecordLock
  3583. gotoPXRecord
  3584. ,%Tarad-"
  3585. initializePX
  3586. insertPXRecord
  3587. ,    Tdata-"
  3588. isPXNetRecordLocked
  3589. ,    Tbase-"
  3590. isPXNetTableChanged
  3591. ,    Topen-"
  3592. isPXTableProtected
  3593. lastPXRecord
  3594. lockPXNetFile
  3595. lockPXNetRecord
  3596. lockPXNetTable
  3597. mapPXKey
  3598. nextPXRecord
  3599. openPXBitmapWindow
  3600. ,    U.X??.%
  3601. openPXBlobRead
  3602. ,    UgetF.%
  3603. openPXBlobWrite
  3604. ,"UineT.%
  3605. openPXTable
  3606. packPXTable
  3607. previousPXRecord
  3608. ,    Tabas-"
  3609. queryPXKey
  3610. refreshPXNetTable
  3611. renamePXTable
  3612. ,    TldCo-"
  3613. savePX
  3614. searchPXField
  3615. searchPXKey
  3616. setPXBitmapWindowInfo
  3617. setPXBlob
  3618. setPXBlobFromFile
  3619. setPXFieldValue
  3620. setPXGraphicBlob
  3621. dat-"
  3622. setPXGraphicBlobFromFile
  3623. setPXINIMaxFiles
  3624. ,"Tield-"
  3625. setPXINIMaxLocks
  3626. setPXINIMaxTables
  3627. setPXMemoBlob
  3628. ,    Tchoo-"
  3629. setPXRaw
  3630. setPXSortOrder
  3631. setPXINISwapSize
  3632. ,"TeInd-"
  3633. setPXTableCreateMode
  3634. setPXTableMaxSize
  3635. setPXUserInfo
  3636. unlockPXNetFile
  3637. unlockPXNetRecord
  3638. unlockPXNetTable
  3639. updatePXRecord
  3640. upgradePXTable
  3641. writePXBlobToFile
  3642. writePXGraphicBlobToFile
  3643. ,"Undex.%
  3644. tb30PDX.DLL
  3645. linkPX
  3646. getPXRecordNumber
  3647. database
  3648. currentRecord
  3649. database
  3650. getPXRecordCount
  3651. totalRecords
  3652. getPXErrorString
  3653. hPrivateBlob
  3654. retVal
  3655. getPXfieldvalue
  3656. B F O G
  3657. getPXFieldType
  3658. popenPXBlobRead
  3659. LgetPXMemoBlob
  3660. database
  3661. closePXBlob
  3662. fieldValue
  3663. hBlob
  3664. setPXFieldValue
  3665. openPXBlobWrite
  3666. VsetPXMemoBlob
  3667. B F O G
  3668. getPXFieldType
  3669. getPXErrorString
  3670. database
  3671. closePXBlob
  3672. fieldValue
  3673. tdeletePXRecord
  3674. database
  3675. strCancel
  3676. strOK
  3677. strDeleteQuery
  3678. deleteRecord
  3679. getPXErrorString
  3680. updatePXRecord
  3681. database
  3682. updateDB
  3683. getPXErrorString
  3684. clearFields
  3685. yappendPXRecord
  3686. database
  3687. newRecord
  3688. .&+    +E
  3689. getPXErrorString
  3690. packPXTable
  3691. Please close other applications using this database try packing it again.
  3692. database
  3693. PupdateDisplay
  3694. default
  3695. packDatabase
  3696. Paradox FrontendHelp
  3697. HelpForThisBook
  3698. Record not found, navigating to closest record.
  3699. getPXErrorString
  3700. SUCCESS
  3701. iemptyPXRecord
  3702. setPXFieldValue
  3703. <searchPXField
  3704. retVal
  3705. searchPXKey
  3706. database
  3707. Record not found.
  3708. searchTable
  3709. getPXErrorString
  3710. first
  3711. previousPXRecord
  3712. previous
  3713. .lastPXRecord
  3714. bfirstPXRecord
  3715. isPositiveInteger
  3716. _2gotoPXRecord
  3717. database
  3718.     8nextPXRecord
  3719. currentRecord
  3720. false
  3721. isPositiveInteger
  3722. nameOnly
  3723. removeExtension
  3724. database
  3725. getPXFieldNames
  3726. fieldNamesFromhandles
  3727. -- Set the 
  3728. thermometer bar
  3729. -- Note that 
  3730. uses 
  3731. " property.
  3732. totalItems 
  3733. pNumberItems
  3734. isType(real, 
  3735.   > 0)
  3736. "RecordCounter" 
  3737. currentPage 
  3738. currentItem 
  3739. pItemNumber
  3740. ZvNumberItems
  3741. > >= 0 
  3742. N <= 
  3743. vProgress 
  3744. v)*100
  3745. percentage 
  3746. pPercentage
  3747.     -- errror checking:
  3748. + > 100
  3749. I < 0
  3750. %"##0"
  3751. "currentPercent" 
  3752. lWide 
  3753. "fullBar" 
  3754. "currentBar" 
  3755.  / 100)
  3756. ItemType 
  3757. pItemType
  3758. notifyBefore 
  3759. otabMode(FALSE) 
  3760. otabNode(
  3761. -- This message 
  3762. sent 
  3763. clicked 
  3764. changed 
  3765. Hsetting
  3766. Put code 
  3767. handler, 
  3768. -- on 
  3769. tabPressed tabNum
  3770.     --special 
  3771. help 
  3772. B"tablabel" 
  3773. dBaseHelp
  3774. goPage 
  3775. currentPage 
  3776. -- handles clicking on 
  3777. buttonClick
  3778.     -- test 
  3779. 9was 
  3780. Hchecking "obtype" userProperty
  3781.         -- each 
  3782. named "
  3783. ", N being 
  3784. tabname 
  3785. -- Changes which 
  3786. 9folder 
  3787. front.
  3788. It does 
  3789. Hmoving
  3790. U"mask"
  3791. -- Value 
  3792. zbetween 1 
  3793. tabs 
  3794.  navigate 
  3795. value
  3796.  < 1 
  3797.  > tabLimit()
  3798. "Cannot 
  3799. 9" && 
  3800.     -- moves 
  3801. visually
  3802.     -- appear 
  3803.  See sized 
  3804.  below 
  3805. adiagram
  3806. v + xpix(),
  3807.     -- stores 
  3808. a userproperty
  3809. myTabMode 
  3810.     -- sends 
  3811. notification 
  3812. -- The handlers 
  3813. resizing 
  3814. ,mode. --
  3815. -- Used 
  3816. %a constant.
  3817. Returns 
  3818. -- Note: 
  3819. you wish 
  3820. more 
  3821. , follow 
  3822. procedure:
  3823. -- Go 
  3824. duplicate one 
  3825. -- Rename that 
  3826. 9appropriately. (
  3827. instance would
  3828. -- be 
  3829. Tab7", 
  3830. thirteenth 
  3831. # be "Tab13").
  3832. -- Set its 
  3833. behind 
  3834. function 
  3835. reflect 
  3836. pageUnits given n 
  3837. pixels.
  3838. sysPageUnitsPerPixel * n
  3839. ypix n
  3840. Uel * n
  3841. -- returns 
  3842. currently selected 
  3843. -- sets up 
  3844. height 
  3845. units.
  3846. tabHeight 
  3847. mytabheight 
  3848. handled 
  3849. myTabHeight 
  3850. tabSpace 
  3851. myTabSpace 
  3852. arrangeTabs
  3853. numTabs 
  3854. valid parameter
  3855. "Must have 
  3856. )least 1 
  3857. "Can only 
  3858. /" && 
  3859.  && "
  3860.         -- cache 
  3861. {reference 
  3862. optimization.
  3863. 9"&i) 
  3864. i <= 
  3865.             -- 
  3866. hidden 
  3867. %they've 
  3868. xbeen
  3869.             -- receiving them 
  3870. # are 
  3871. "manual" 
  3872. myNumTabs 
  3873. mynumtabs 
  3874. resized 
  3875. Notice 
  3876. -- methodSent: 
  3877. used 
  3878. differentiate 
  3879. =messages
  3880. ToolBook 
  3881. explicitly 
  3882. sysSuspendMessages
  3883.  off toolbooks 
  3884. messaging, 
  3885. %we will be changing
  3886. stuff.
  3887. Without 
  3888. recursively
  3889.     -- calls itself over 
  3890.         -- 
  3891. thing 
  3892.         -- 
  3893. has a 
  3894.  called 
  3895.             --
  3896.             --
  3897. 5,6 _________ 7,8
  3898.             --
  3899.             --
  3900. 3,4 |
  3901. | 9,10
  3902.             --
  3903.             --
  3904.             --
  3905.             --
  3906. 1,2 |____________| 11,12
  3907.             --
  3908.             -- Here 
  3909. amap 
  3910.             -- 
  3911. goal here 
  3912. maintain 
  3913. shape 
  3914.             -- 
  3915. . (Otherwise 
  3916. gets 
  3917. stretchy.) Also, 
  3918.             -- 
  3919. should be 
  3920.             --
  3921.             -- find 
  3922. how tall 
  3923. supposed 
  3924.             -- 
  3925. tabRef 
  3926.             -- 
  3927. tsection 
  3928. makes 
  3929. " corners
  3930.             -- 
  3931. Need 
  3932. be sure 
  3933.             -- 
  3934.  wide 
  3935. 4doing 
  3936. m"tabHighlight" 
  3937. B"tabLabel" 
  3938. K    () 
  3939. editor.
  3940.         -- 
  3941. rectangular
  3942.         -- body 
  3943.             -- 
  3944.         -- 
  3945. following condition 
  3946. triggered 
  3947. %a whole 
  3948.         -- 
  3949.         -- 
  3950.         -- 
  3951. , even though their sizes 
  3952. So we must 
  3953.         -- 
  3954.  can 
  3955. themselves.
  3956.         -- 
  3957.         -- 
  3958. xarranged 
  3959.             -- 
  3960. 9"&i) 
  3961.             -- don't bother arranging 
  3962.             -- 
  3963. mynumTabs 
  3964. -- assures 
  3965. aligned 
  3966. spaced evenly.
  3967. syssuspendmessages
  3968. anchor 
  3969. "tab1" 
  3970. mytabspace 
  3971. where 
  3972. order
  3973. xpos 
  3974. bp - 
  3975. b(ts,0)
  3976. through remaining 
  3977. place
  3978.         -- 
  3979. 9"&i) 
  3980.         -- 
  3981.         -- now 
  3982. tbit 
  3983. masking 
  3984. others.
  3985. bchecks 
  3986. x(e.g., 
  3987. just 
  3988. moved 
  3989. tname 
  3990. above 
  3991. buttonClick
  3992. 4STRING svdbName
  3993. vName
  3994. OpenFileDlg ("Choose a Paradox database 
  3995. .","", ".", "
  3996. (*.db), *.db", 1)
  3997. closePXTable("DBexchng")
  3998. openPXTable("
  3999. , 0, 0)
  4000. getPXErrorString(
  4001. "Paradoxfilename" 
  4002. nameOnly(
  4003. listDatabaseFields "
  4004. selectedTextLines 
  4005. enabled 
  4006. B"selectAllFields" 
  4007. --builds 
  4008. displays a 
  4009. names 
  4010.  fieldName
  4011. vdbFieldList
  4012. strSeldBFileName()
  4013.  the 
  4014. O = buildParadoxFieldList()
  4015. no fields found, 
  4016. error
  4017.  checking 
  4018. "databasefields"
  4019. a given 
  4020. vPXFieldList
  4021.  = getPXFieldNames("DBEXCHNG")
  4022. ~(",", 
  4023. ~(",",
  4024. buttonClick
  4025. 4INT svLine
  4026. 4STRING bkName, svTbName
  4027. ZvSelectedLine, vToolBookFieldName, vName, vType, vFieldData
  4028. = TRUE
  4029. textlineCount(
  4030. selected 
  4031. toolbook record 
  4032.  = selectedTextLines 
  4033. "ToolBookFields"
  4034. saveTBName 
  4035.     vSourceBackground = 
  4036. enabled 
  4037. FALSE
  4038. selectedtextlines 
  4039.     -- Guess dBase 
  4040. type 
  4041. guessFieldInfo(
  4042.     vWidth = 
  4043.     vDecimal = 
  4044.     -- fill 
  4045. fields 
  4046.  = checkName(
  4047. pwere numbers
  4048. "&"_"&(
  4049. ")+1)
  4050. -- can't have duplicat names
  4051.         --So we will 
  4052. aup our own that should be unique 
  4053. ) < 10
  4054. ")+1)
  4055. "dType" 
  4056. "dWidth" 
  4057. "dDecimal" 
  4058. textoverFlow 
  4059. " <> 0
  4060. "dbFields" 
  4061. ")+1)
  4062. selectedTextlines 
  4063. "dbfields" 
  4064.     --Update panels 
  4065. display information about the currently 
  4066. setDataView 
  4067. setCharacteristicsState 
  4068.  nameString
  4069. ZvNewName
  4070.     --strip begining 
  4071. cisNum(
  4072. i = " "
  4073. xisAlNum(
  4074. i = 10 
  4075. , width, 
  4076. tbased on 
  4077. vFieldWidth,
  4078.     --Check 
  4079. : <> 
  4080. %"mm/dd/yy" 
  4081. "Date,8, "
  4082. logical
  4083.  = 1 
  4084.  = 0 
  4085.  = "t" 
  4086.  = "f"
  4087. "Logical,1, "
  4088. numeric
  4089.  < 18
  4090.         --look 
  4091. point
  4092. ~(".",
  4093. "Numeric,"&
  4094. &","&
  4095. memo, 
  4096. more than 32 
  4097. V, gruess 
  4098. ^length 
  4099.  > 32
  4100. C10, "
  4101.     -- default ot 
  4102. &", "
  4103. buttonClick
  4104. 4svLine
  4105. ZvTBFieldName, vNextTextline
  4106. = TRUE
  4107. saveTBName 
  4108. "toolbookFields")+1
  4109. ] = 1
  4110. enabled 
  4111. selectedTextLines 
  4112. "dType"
  4113. "dWidth"
  4114. "dDecimal"
  4115. lines have been removed
  4116. resetCharacteristics
  4117. resetDataView
  4118. FALSE
  4119. Uhas 
  4120. p, change 
  4121. selectedtextlines 
  4122. "dbFields" 
  4123. " -- sync fields
  4124. 4svChecked
  4125. 4INT svLine
  4126. "0123456789"
  4127.  -- backSpace
  4128. Key = keyEnter -- enter
  4129. zerrorChecking
  4130. they tabbed
  4131. Bsvline 
  4132. "dwidth" 
  4133. "Character"
  4134. <= 255
  4135. "dWidth" 
  4136. selectedtextlines 
  4137. "dbFields" 
  4138. strCharWidth()
  4139. "Numeric" 
  4140. <= 19 
  4141. "Decimal") < 2 
  4142.  <> 0
  4143. strPrecisionError()
  4144. selectedTextlines 
  4145. strNumWidth(
  4146. ZvError
  4147.     -- need 
  4148. deleting 
  4149. pasting 
  4150. &&strWidthNull()
  4151.  > 255
  4152.  < 1 
  4153. t" <> 0
  4154. ) - (
  4155. buttonClick
  4156. 4INT svLine
  4157. 4svChecked
  4158.  keeps me 
  4159. having 
  4160. figure out what 
  4161. there 
  4162. no change
  4163. vDecimal 
  4164. "TBRecordFieldtext" 
  4165. vWidth 
  4166. Charcount (
  4167. "TBRecordFieldText")
  4168. "numeric"
  4169. "Memo"
  4170. "logical"
  4171. DateFormat 
  4172.  setCharacteristicsState 
  4173. "dWidth" 
  4174. "dDecimal" 
  4175. "dType" 
  4176. 4INT svLine
  4177. (key) 
  4178. "0123456789"
  4179. C = keyEnter -- enter
  4180. zerrorChecking
  4181. z <> 
  4182. they tabbed 
  4183. backspaced 
  4184. "width")-(
  4185. ) < 2 
  4186. strPrecisionError()
  4187. strDecimal15()
  4188. "dDecimal" 
  4189. selectedTextlines 
  4190. "dbFields" 
  4191. ZSTRING vError
  4192.     -- need 
  4193. deleting 
  4194. pasting 
  4195. 9 = strDecimalNull()
  4196. ) < 2 
  4197. --handlers used 
  4198. }only on 
  4199.     -- cleaning up 
  4200. slows 
  4201. flipping so 
  4202. necessary
  4203.     -- you have 
  4204. 8was saved
  4205. "toolbookfields" <> 
  4206. "dName" <> 
  4207. cleanUp
  4208.     --Just 
  4209. be sure.
  4210. --This 
  4211.  initializes the 
  4212. qsession.
  4213. = TRUE
  4214. 0two panels 
  4215. resetCharacteristics
  4216. resetDataView
  4217.     --initalize 
  4218. rest 
  4219. controls on 
  4220. enabled 
  4221. FALSE
  4222. "toolbookFields"
  4223. "toolbookfileName"
  4224. "dbFields"
  4225. keep 
  4226. navigating 
  4227. frontend template 
  4228. progress 
  4229. sysSuspendMessages 
  4230. strNotPage()
  4231. labels 
  4232. characteristics 
  4233. ZvControlList
  4234. "TypeLabel", 
  4235. "changeLabel",\
  4236. "nameLabel",
  4237. "widthLabel", 
  4238. "Width"
  4239. enableFields(
  4240. "type" 
  4241.  sets 
  4242. state 
  4243.  so that 
  4244. valid 
  4245. selected.
  4246. --Parameters:
  4247. --    dbFieldType:    
  4248. --    dbFieldWidth:    
  4249. qvalue 
  4250. --    dbFieldDecimal:    
  4251. --    dbFieldName:    
  4252. setCharacteristicsState 
  4253. 4svLine, svChecked
  4254. ZSTRING vActiveList, vInactiveList
  4255.  <> NULL
  4256. "WidthLabel", 
  4257.  = "Alpha-Numeric"
  4258. --These 
  4259. updated 
  4260. being edited
  4261. ? messages handled here 
  4262. Clear
  4263. cutClear
  4264. 4INT svline
  4265. ("d"&
  4266. selectedtextlines 
  4267. "dname" <> 
  4268. "dwidth" <> 
  4269. buttonClick
  4270. 4INT svLine
  4271. 4STRING bkName, svTbName
  4272. ZvSelectedLine, vToolBookFieldName, vName, vType, vFieldData
  4273. = TRUE
  4274. textlineCount(
  4275. selected 
  4276. toolbook record 
  4277.  = selectedTextLines 
  4278. "ToolBookFields"
  4279. saveTBName 
  4280.     vSourceBackground = 
  4281. enabled 
  4282. FALSE
  4283. selectedtextlines 
  4284.     -- Guess Paradox 
  4285. type 
  4286. guessFieldInfo(
  4287.     vWidth = 
  4288.     vDecimal = 
  4289.     -- fill 
  4290. fields 
  4291. ^ dBase 
  4292.  = checkName(
  4293. pwere numbers
  4294. "&"_"&(
  4295. ")+1)
  4296. -- can't have duplicat names
  4297.     --So we will 
  4298. aup our own that should be unique 
  4299. ) < 10
  4300. ")+1)
  4301. "dType" 
  4302. "dWidth" 
  4303. textoverFlow 
  4304. " <> 0
  4305. "dbFields" 
  4306. ")+1)
  4307. selectedTextlines 
  4308. "dbfields" 
  4309.     --Update panels 
  4310. display information about the currently 
  4311. setDataView 
  4312. setCharacteristicsState 
  4313.  nameString
  4314. ZvNewName
  4315.     --strip begining 
  4316. cisNum(
  4317. i = " "
  4318. xisAlNum(
  4319. i = 25 
  4320. , width, 
  4321. tbased on 
  4322. vFieldWidth,
  4323.     --Check 
  4324. : <> 
  4325. %"mm/dd/yy" 
  4326. "Date,, "
  4327. numeric
  4328. "Numeric,,"
  4329. memo, 
  4330. more than 32 
  4331. ^length 
  4332.  > 255
  4333. A10, "
  4334.     -- default 
  4335. "Alpha-
  4336. &", "
  4337. 4svChecked
  4338. 4INT svLine
  4339. "0123456789"
  4340.  -- backSpace
  4341. Key = keyEnter -- enter
  4342. zerrorChecking
  4343. they tabbed
  4344. Bsvline 
  4345. "dWidth" 
  4346. "Alpha-Numeric"
  4347. <= 255
  4348. selectedtextlines 
  4349. "dbFields" 
  4350. strCharWidth()
  4351.     -- This will never happen, leaving 
  4352. user wants 
  4353. modify 
  4354.     -- See 
  4355. "type" 
  4356. "Export dBase"
  4357. <= 19 
  4358. "Decimal") < 2 
  4359.  <> 0
  4360. strPrecisionError()
  4361. selectedTextlines 
  4362. strNumWidth(
  4363. ZvError
  4364.     -- need 
  4365. deleting 
  4366. pasting 
  4367. &&strWidthNull()
  4368.  > 255
  4369.  < 1 
  4370.     -- These 
  4371. t" <> 0
  4372. ) - (
  4373. buttonClick
  4374. 4STRING svdbName
  4375. ZvNewBookName, vTotalRecords
  4376. --Create the 
  4377. + = createDBBook(
  4378.  will 
  4379. FALSE 
  4380. there are no fields selected,
  4381.     -- returns NULL 
  4382. `user backs out 
  4383. error
  4384.     --Add 
  4385. addDatabaseFields 30, 135, 5430, "
  4386. --Do 
  4387. transfer
  4388.  = transferDatabaseData("
  4389.  ToolBook 
  4390. \;activeWindow = windowhandle 
  4391. handler 
  4392. fParadox record data. Assumes that
  4393. 8context 
  4394. already 
  4395. ta sourceField, newBookName 
  4396. , vSourceDBFields, vSelectedDBFields, vTotalFields, vCurrentRecord
  4397. selectedTextLines 
  4398. zlead 
  4399. firstPXRecord("DBexchng")
  4400. getPXErrorString(
  4401. initProgressViewer "Transferring 
  4402. ", getPXRecordCount("
  4403. --loop thru 
  4404. file filling 
  4405. cTRUE
  4406. currentItem 
  4407. within 
  4408. value
  4409. vCurrentField = 
  4410.             --Check 
  4411. a blob 
  4412. getPXFieldType("
  4413. "B F O G"
  4414. --If 
  4415. a memo 
  4416. xignore 
  4417. hPrivateBlob = openPXBlobRead("
  4418. close 
  4419. "progress"
  4420. hBlob = getPXBlob(
  4421. t, getPXBlobSize(
  4422. ), 0)
  4423. globallock(
  4424. temp = 
  4425. 1(0, 
  4426. globalUnlock(hblob)
  4427. closePXBlob(
  4428. getPXfieldvalue("
  4429. "BLOB 
  4430. Ignored"
  4431.             --
  4432. nextPXRecord("
  4433. --Kill 
  4434. since 
  4435. has no 
  4436. recordFields
  4437. buttonClick
  4438. 4STRING svdbName
  4439. ZvNewBookName, vTotalRecords
  4440. -- Create the 
  4441. , = createDBBook(
  4442.  will 
  4443. FALSE 
  4444. there are no fields selected,
  4445.     -- returns NULL 
  4446. `user backs out 
  4447. error
  4448.     -- Add 
  4449. d. The numbers initialize 
  4450. positions 
  4451. limits 
  4452. addDatabaseFields 30, 135, 5175, "dataBaseFields", 
  4453. -- Do 
  4454. transfer
  4455.  = transferDatabaseData("
  4456.  ToolBook 
  4457. \;activeWindow = windowhandle 
  4458. handler 
  4459. fdBase record 
  4460. . Assumes that
  4461. 8context 
  4462. already 
  4463. ta sourceField, newBookName 
  4464. , vSourceDBFields, vSelectedDBFields, vTotalFields, vCurrentRecord
  4465. selectedTextLines 
  4466. zlead 
  4467. firstDBRecord()
  4468. = -10
  4469. strNoRecInPX()
  4470. strErrorFirstdBRec()
  4471. initProgressViewer "Transferring 
  4472. ", getDBRecordCount(), "
  4473. --loop thru 
  4474. PX file filling 
  4475. cTRUE
  4476. getdbRecordDeleted() = 0
  4477. --bypass deleted 
  4478. currentItem 
  4479. within 
  4480. value
  4481. vCurrentField 
  4482. getDBfieldvalue(
  4483. strErrorGetdBValue(curFld,
  4484. nextDBRecord() 
  4485. --Kill 
  4486. since 
  4487. has no 
  4488. recordFields
  4489.     close 
  4490. --handlers common 
  4491. backgound 
  4492. that share 
  4493.     --reset cursor here because 
  4494. might 
  4495. xbe done on 
  4496. o= default
  4497. -- A 
  4498. "disable" fields.
  4499. -- Makes scripts read like there 
  4500. a custom enabled/disabled 
  4501. -- property 
  4502. --Parameters:
  4503. --    fieldList: a list 
  4504. --    enableField: a boolean flag 
  4505. determine whether 
  4506. --    clearText: a 
  4507. disabling 
  4508. -- This function works 
  4509. recordFields
  4510. enableFields 
  4511. ) > 0
  4512. c"Label"
  4513. BLACK
  4514. WHITE
  4515. FALSE
  4516. LIGHTGRAY
  4517. Qthe three 
  4518. Sextension 
  4519. a file 
  4520. specified 
  4521. --    fileName: filename 
  4522. change, may include path
  4523. --    newExtension:    
  4524. changeExtension 
  4525. k <> "."
  4526. JCharacter 
  4527.  opens 
  4528. progress 
  4529. initializes 
  4530. --values.
  4531. 8displays 
  4532. named "
  4533. --    newCaption:    
  4534. --    newTotalItems:    
  4535. be "counted" 
  4536. --    newItemType:    
  4537. `label 
  4538. kind 
  4539. being 
  4540. initProgressViewer 
  4541. itemType 
  4542. currentItem 
  4543. totalItems 
  4544. statusBar 
  4545. helpText 
  4546. --Function 
  4547. create a 
  4548. accept data 
  4549. called 
  4550. ;"Import 
  4551. RecordFields" 
  4552. FrontEnd"
  4553. --    dbFileName:    
  4554. CreateDBBook 
  4555. ZvNewBookName, vStartup, vStartupSysBooks 
  4556.  sure 
  4557. selectedTextlines 
  4558. "dataBaseFields" 
  4559. strNoDBFFields()
  4560. base 
  4561.  = saveAsDLG("Choose 
  4562. F"), ".", "ToolBook (*.
  4563. ^), *.
  4564. e)", 1)
  4565. -- Save 
  4566. L.ini, 
  4567. finstance
  4568. -- will be blank, 
  4569. sysToolBookDirectory & "tb30.exe" minimized
  4570. strErrTbkExe()
  4571. same 
  4572. database
  4573. %" && QUOTE & 
  4574.     defaultPosition 
  4575. feature
  4576. " & CRLF \ 
  4577.     & TAB & "
  4578. 4s_dbExLastFocus" & 
  4579.     importing 
  4580. --    startColumn:    sepcifies 
  4581. Sside 
  4582. created 
  4583. pageUnits
  4584. --    startRow:        specifies 
  4585. --    endRow:            
  4586. <limit 
  4587. --    dbFieldList:    
  4588. where 
  4589. dbFields 
  4590. imported are
  4591. :        a 
  4592.     used 
  4593.     ither 
  4594. buttons.
  4595. addDatabaseFields 
  4596. , Labels
  4597. ZSTACK vSelectedText
  4598. ZINT vTotalFields,vColumnCounter, vRowCoords, vColumnCoords
  4599. ZSTRING vFieldName, vLabelField, vRecordField
  4600. ZLAYER vDestinationLayer, vDestinationBackground
  4601. "Building 
  4602. --preset coordinates, incrementors 
  4603. color/
  4604. %build frontend 
  4605.  Records"
  4606. /"frontEnd"
  4607. --loop thru 
  4608. building 
  4609. names 
  4610. order 
  4611. those 
  4612.     -- defaults 
  4613. ]labels, 
  4614. a very large 
  4615. z(>47) 
  4616.  per 
  4617. insert 
  4618.  = copyObject(
  4619. "labelField" 
  4620. J"CopyField" 
  4621. +1350, 
  4622. u     = 
  4623. adjust 
  4624. drawing
  4625. -- "285", "105", 
  4626. "3930" 
  4627. *happen 
  4628. look good.
  4629. H285 
  4630. I'm about 
  4631. ~below 
  4632. lowest bound 
  4633.  how many times I 
  4634. --begin 
  4635. a column
  4636. k2 = 1
  4637. --alternate between these cases
  4638. 3930 + (
  4639. *105) 
  4640.  + ((
  4641. -1)*105)
  4642. strToManyFlds()
  4643.  -- placed 
  4644. g    correct
  4645. B"Sort" 
  4646. B"Search" 
  4647. "autoPageNumber" 
  4648. B"First" 
  4649. B"Previous" 
  4650. B"Next" 
  4651. close 
  4652. state 
  4653. view 
  4654. panel
  4655. resetDataView
  4656. ZvControlList
  4657. ""viewLabel"", 
  4658. ""TBNameLabel"", 
  4659. ""TBTextLabel"","&&\
  4660. ""TBRecordFieldName"", 
  4661. ""TBRecordFieldText"""
  4662.  sets 
  4663. --controls 
  4664. --    toolBookFieldName: 
  4665. --    toolBookBackgroundRef:    
  4666. /(includes 
  4667. 8ref)
  4668.     we can find 
  4669. Jpassed 
  4670. parameter
  4671.  builds 
  4672. listToolBookFields
  4673. svTbName
  4674. RecordFieldNames
  4675. strSelTBKFileName()
  4676. vRecordFieldNames = buildRecordFieldList()
  4677. found
  4678. strNoNameRecFfl()
  4679. "toolbookfilename"
  4680. "toolbookFields"
  4681. duplicate 
  4682. dupStrs(
  4683. strTwoShareName()
  4684. actual 
  4685. , svBkName
  4686. bgObjects
  4687. CharsInList
  4688. vbgObjects = 
  4689. *) > 0
  4690. --test 
  4691. recordfields WITH NAMES
  4692. vRecordFieldList
  4693. vCharsInList = 
  4694. Q)    -- stop 
  4695. &<> 0
  4696. 2- 1) 
  4697. M- 1) 
  4698. checks 
  4699. strings 
  4700. multiple 
  4701.  strs
  4702. ZLONG i, j
  4703. i <> j
  4704. --Dummy handlers 
  4705. intercepting 
  4706. cmessages 
  4707. xon Front End
  4708. OpenIndexFile
  4709. StopIndexWarning
  4710. PackDatabase
  4711. HelpForThisBook
  4712. --Functions 
  4713. strings 
  4714. easy Internationalization
  4715. strCantOpenDbaseFile fFileName
  4716. "Cannot 
  4717. dBase file" && 
  4718. # & "."
  4719. strNoRecords
  4720. "There are no 
  4721. Please click New 
  4722. enter data."
  4723. strNoDLL
  4724. 't find tb30db3.dll.
  4725. Kopy 
  4726. a directory" && \
  4727.         "that's 
  4728. your path, 
  4729. change 
  4730. include 
  4731. >," && \
  4732.  strInvalidRecord
  4733. Mthe 
  4734. record.
  4735. You must be positioned on a 
  4736. can be deleted."
  4737. strDeleteQuery
  4738. "Are 
  4739.  sure 
  4740.  want 
  4741. strOK
  4742. strCancel
  4743. strDeleteLast
  4744. have just 
  4745. ." && \
  4746.         " A 
  4747. qblank 
  4748.  will be created."
  4749. strModifyRecord
  4750. "modifying 
  4751. strdBase
  4752. strOpenIndexFile
  4753. strPackDataBase
  4754. strStopIndexWarning
  4755. strHelpForThisBook
  4756. strMoveTo
  4757. "moving 
  4758. strGetNextKey
  4759. "getting 
  4760. tkey value"
  4761. strDelRec
  4762. "deleting 
  4763. strSetFldValue
  4764. "setting 
  4765. strGetFldValue
  4766. strModRec
  4767. strWriteRec
  4768. "writing 
  4769. strGetRec
  4770.  count"
  4771. strGetRecNum
  4772. strMarkDelete
  4773. "That 
  4774.  has been marked 
  4775. deletion."
  4776. strAllMarked
  4777. strKeepRecord 
  4778. "Unable 
  4779. " && 
  4780.  && "
  4781. current 
  4782. Keeping 
  4783. strNavigate
  4784. "navigating 
  4785. strOnly7
  4786.  seven index files 
  4787. opened 
  4788. )once."
  4789. strChooseIndex
  4790. strAlreadyOpen
  4791. already 
  4792.  vName
  4793.  && "cannot be 
  4794. strCorruptWarn
  4795. "WARNING:
  4796. ToolBook 
  4797. detected corruption 
  4798. strAuthor
  4799. strExit
  4800. strGeneralError fErrorValue, fErrorText
  4801. temp 
  4802. $accessing 
  4803. 0 <> NULL
  4804. ":" && getDBerrorString(
  4805. X <> 
  4806. CRLF & "
  4807. encountered 
  4808. c" && 
  4809.  & "."
  4810. strWarning
  4811.     : If you alter a 
  4812.  without opening" && \
  4813.         "its corresponding 
  4814. xbe updated."
  4815. strFirstKey
  4816. key."
  4817. strFirstRec
  4818. strLastKey
  4819. strLastRec
  4820. strEnterRec
  4821. strPosRec
  4822. "positioning 
  4823. strNotValidRecNum
  4824. strEnterField
  4825. z""x"" 
  4826. ""x"" fields."
  4827. strEnterKey
  4828. strOutOfRange
  4829. f range."
  4830. --handlers 
  4831. functions 
  4832. }only on 
  4833.     --If there 
  4834. some old stuff on 
  4835. , delete 
  4836. "dataBaseFields" <> 
  4837. cleanUp 
  4838. 4STRING svdbName
  4839.     --Delete 
  4840. 4leaving 
  4841. closeDBFile(
  4842. -- why isn't skipNavigation taking care 
  4843. reset the fields 
  4844. buttons 
  4845. their initial state
  4846. cleanUP
  4847. ZvFieldList, vButtonList
  4848. ""DBaseFileName"", 
  4849. 2 = "
  4850. B""selectAllFields"", 
  4851. B""unselectAllFields"","& \
  4852. B""ImportToRecordFields"", 
  4853. B""ImportToFrontEnd"""
  4854. enabled 
  4855. FALSE
  4856. notifyBefore 
  4857. odisablePage && "
  4858. " && 
  4859. olevel)
  4860. oenabled 
  4861. FALSE
  4862. buttonClick
  4863. " && 
  4864. value
  4865. oprop_level 
  4866. "invalid 
  4867. widget:"&&
  4868. G &CRLF&\
  4869.             "must be ""
  4870. direction 
  4871. "Next,Previous,First,Last"
  4872. "", ""
  4873. "", ""
  4874. oprop_disablePage 
  4875. :" && 
  4876.  & CLRF & \
  4877. Asymetrix dBase - Paradox - ToolBook Exchange
  4878. 1991 - 1994
  4879. BCorporation
  4880. --Copyright 
  4881.  1991-1994 
  4882. --This version authored 
  4883. HJeff Ayars 
  4884. Charles Hiestand
  4885. gives you permission 
  4886. e, revise 
  4887. reuse the individual 
  4888. scripts 
  4889. your own applications.
  4890. --You may 
  4891. x, however, 
  4892. Sentire 
  4893. a substantial part 
  4894. redistribution 
  4895. jproduct.
  4896. retains 
  4897. copyright on 
  4898. original elements 
  4899.  . Include 
  4900. notice "Portions 
  4901.  are 
  4902. they contain 
  4903. copied 
  4904. --A note on language independence:
  4905. For ease 
  4906. translating 
  4907. strings 
  4908. readers that come 
  4909. functions located 
  4910. --The names 
  4911. these 
  4912. letters: "
  4913. handlers 
  4914. prompt 
  4915. enterApplication
  4916. housekeeping
  4917. leaveApplication
  4918. clean up
  4919.  per 
  4920. ImportdBase            
  4921. option
  4922. ExportdBase
  4923. dBaseHelp
  4924. help 
  4925. linkFile
  4926.  tb30DOS.dll 
  4927. linkdBase
  4928. ( tb30db3.
  4929. User defined 
  4930. isAlNum
  4931. test 
  4932. alphaNumeric
  4933. isNum
  4934. numeric
  4935. isAlpha
  4936. alphabetic
  4937. isPosInt
  4938. positive integer
  4939. --         nameOnly
  4940. prefix 
  4941. file 
  4942. ponly.
  4943. 4s_firstFlag
  4944. sysChangesdb 
  4945. FALSE
  4946. sysRuntime 
  4947. strRuntime()
  4948. "splash"
  4949. linkPX
  4950. initializePX("DBExchange")
  4951. < 0 -- 
  4952. SHARE.EXE 
  4953. xrunning, 
  4954. error will occur here
  4955. getPXErrorString(
  4956. \ -- 
  4957. eon screen
  4958.     close 
  4959. exitPX()
  4960. asure 
  4961. centered
  4962.         --(sometimes 
  4963. 640 X 480 there 
  4964. a problem)
  4965. saveChanges 
  4966. have switched 
  4967. ,mode.
  4968. custom 
  4969. calias messages
  4970. menuItemSelected 
  4971. , menuAlias
  4972. "ImportFromDbaseFile"
  4973. "ExportToDbase"
  4974. DBase"
  4975. "ImportFromParadox"
  4976. "ExportToParadox"
  4977. 4STRING svReturnPage
  4978.     -- Do 
  4979. xwant 
  4980. because user 
  4981.     sysSuspendMessages = 
  4982.     -- Do 
  4983. xmodify 
  4984. already 
  4985. /<> "exchangeHelp"
  4986. "exporting 
  4987. "importing 
  4988. Toolbook"
  4989. o= default
  4990. -- needed 
  4991. syssuspendmessages 
  4992. aboutdBase
  4993. strAboutDbase()
  4994.  DLL 
  4995. used 
  4996. linkDLL sysToolBookDirectory & "tb30dos.
  4997. fileExists(
  4998. getFileList(
  4999. strNoDll ("TB30DOS.
  5000. OpenFileDlg(
  5001. aveAsDlg(
  5002. "kernel"
  5003.     WORD GlobalAlloc(
  5004. ,DWORD)
  5005. Free(
  5006.     POINTER GlobalLock(
  5007. ;Unlock(
  5008. y & "tb30DB3.DLL"
  5009. _ checkDBIndex(
  5010. v closeAllDBFiles()
  5011.  closeDBFile(
  5012.  closeDBIndexFile(
  5013. createDBFieldTag(
  5014.  createDBFile(
  5015.  createDBIndexFile(
  5016.         INT deleteDBFile(
  5017. selectDBIndexFile()
  5018. -findDBKey(
  5019. @firstDBKey()
  5020. QfirstDBRecord()
  5021. efreeDBFieldTag(
  5022. getDBDateFormat()
  5023. getDBErrorString(
  5024. getDBFieldCount()
  5025. getDBFieldName(
  5026. getDBFieldPrecision(
  5027. getDBFieldType(
  5028. getDBFieldValue(
  5029. getDBFieldWidth(
  5030. getDBFileName()
  5031. getDBIndexExpression()
  5032. getDBIndexFileName()
  5033. getDBKeyType()
  5034. getDBKeyValue()
  5035. getDBNavigateToDeleted()
  5036.         LONG getDBRecordCount()
  5037. getDBRecordDeleted()
  5038. 1Number()
  5039. gotoDBRecord(
  5040. lastDBKey()
  5041. lastDBRecord()
  5042. nextDBKey()
  5043. nextDBRecord()
  5044. openDBFile(
  5045. openDBIndexFile(
  5046. packDBFile()
  5047. previousDBKey()
  5048. previousDBRecord()
  5049. reindexDBFile(
  5050. removeDBRecords(
  5051. selectDBFile(
  5052. setDBDateFormat(
  5053. setDBFieldTag(
  5054. setDBFieldValue(
  5055. setDBNavigateToDeleted(INT)
  5056. setDBRecordDeleted(
  5057. writeDBRecord(
  5058. "Could 
  5059. TB30db3.dll"
  5060. strNoDLL("TB30DB3.
  5061. linked, 
  5062. addPXKey(
  5063. --PXKeyAdd()
  5064. addPXPassword(
  5065. --PXPswAdd()
  5066. addPXTable(
  5067. --PXTblAdd()
  5068. appendPXRecord(
  5069. --PXRecAppend()
  5070. clonePXBlob(
  5071. --PXBlobClone()
  5072. closePXBitmapWindow(
  5073. closePXBlob(INT,
  5074. --PXBlobClose()
  5075. closePXTable(
  5076. --PXTblClose()
  5077. copyPXTable(
  5078. --PXTblCopy()
  5079. createPXTable(
  5080. )        --PXTblCreate()
  5081. cryptPXTable(
  5082. --PXTblDecrypt()
  5083. --PXPswDel()
  5084. --PXRecDelete()
  5085. --PXTblDelete()
  5086. oesPXTableExist(
  5087. --PXTblExist()
  5088. ropPXBlob(
  5089. --PXBlobDrop()
  5090. ropPXKey(
  5091.             --PXKeyDrop()
  5092. emptyPXField(
  5093. emptyPXRecord(
  5094. --PXRecBufEmpty()
  5095. emptyPXTable(
  5096. --PXTblEmpty()
  5097. encryptPXTable(
  5098. )            --PXTblEncrypt()
  5099. --PXExit()
  5100. freePXGraphicBlob(
  5101. freePXGraphicBlobPalette(
  5102. firstPXRecord(
  5103. --PXRecFirst()
  5104. PXBitmapSize(
  5105. --PXBlobGet()
  5106. PXBlobQuick(
  5107.         --PXBlobQuickGet()
  5108. PXBlobSize(
  5109. --PXBlobGetSize()
  5110. getPXFieldCount(
  5111. --PXRecNFlds()
  5112. getPXFieldNames(
  5113. getPXFieldType(
  5114. )        --PXFldType()
  5115. getPXFieldValue(
  5116. PXFileSize(
  5117.     getPXKeyFieldCount(
  5118. --PXKeyNFlds()
  5119.     getPXMaxFiles()
  5120.     getPXMaxLocks()
  5121. getPXMaxTables()
  5122.         INT    getPXSwapSizeFromINI()
  5123. MaxTablesFromINI()
  5124. 1MaxFilesFromINI()
  5125. GMaxLocksFromINI()
  5126. getPXMemoBlob(
  5127. getPXNetErrorUser()
  5128. --PXNetErrUser()
  5129. getPXNetUserName()
  5130.     PXRaw(
  5131. --PXRawGet()
  5132. getPXRawDataSize(
  5133. J    PXRecordCount(
  5134. --PXTblNRecs()
  5135. s    PXRecordNumber(
  5136. --PXRecNum()
  5137. getPXSortOrder()
  5138. getPXUserInfo()
  5139. gotoPXNetRecordLock(
  5140.             --PXNetRecGotoLock()
  5141. gotoPXRecord(
  5142. --PXRecGoto()
  5143. --PXWinInit()
  5144. insertPXRecord(
  5145. --PXRecInsert()
  5146. isPXNetRecordLocked(
  5147. --PXNetRecLocked()
  5148. isPXNetTableChanged(
  5149. --PXNetTblChanged()
  5150. isPXTableProtected(
  5151. --PXTblProtected()
  5152. lastPXRecord(
  5153. --PXRecLast()
  5154. lockPXNetFile(
  5155. --PXNetFileLock()
  5156. lockPXNetRecord(
  5157. lockPXNetTable(
  5158. --PXNetTblLock()
  5159. mapPXKey(
  5160.             --PXKeyMap()
  5161. nextPXRecord(
  5162. --PXRecNext()
  5163. openPXBitmapWindow(
  5164. openPXBlobRead(
  5165. )            --PXBlobOpenRead()
  5166. openPXBlobWrite(
  5167. --PXBlobOpenWrite()
  5168. openPXTable(
  5169.         --PXTblOpen()
  5170. packPXTable(
  5171. previousPXRecord(
  5172. --PXRecPrev()
  5173. queryPXKey(
  5174. --PXKeyQuery()
  5175. refreshPXNetTable(
  5176. --PXNetTblRefresh()
  5177. renamePXTable(
  5178. )            --PXTblRename()
  5179. savePX()
  5180. --PXSave()
  5181. searchPXField(
  5182. searchPXKey(
  5183.         --PXSrchKey()
  5184. setPXBitmapWindowInfo(
  5185. setPXBlob(
  5186.             --PXBlobPut()
  5187. setPXBlobFromFile(
  5188. setPXFieldValue(
  5189. )    --PXPutAlpha(), PXPutDate(), PXPutDouble(), PXPutLong(), PXPutShort()
  5190. setPXGraphicBlob(
  5191.             --
  5192. setPXGraphicBlobFromFile(
  5193. setPXINIMaxFiles(
  5194. --PXSetDefaults()
  5195. setPXINIMaxLocks(
  5196. setPXINIMaxTables(
  5197. setPXMemoBlob(
  5198. setPXRaw(
  5199. --PXRawPut()
  5200. setPXSortOrder(
  5201. setPXINISwapSize(
  5202. setPXTableCreateMode(
  5203. --PXTblCreateMode()
  5204. setPXTableMaxSize(
  5205. --PXTblMaxSize()
  5206. setPXUserInfo(
  5207. unlockPXNetFile(
  5208. --PXNetFileUnlock()
  5209. unlockPXNetRecord(
  5210.             --PXNetRecUnlock()
  5211. unlockPXNetTable(
  5212.             --PXNetTblUnlock()
  5213. updatePXRecord(
  5214. --PXRecUpdate()
  5215. upgradePXTable(
  5216. --PXTblUpgrade()
  5217. writePXBlobToFile(
  5218. writePXGraphicBlobToFile(
  5219. --Functions 
  5220. support data validation 
  5221. checking
  5222. -- We 
  5223. ANSI 
  5224. each 
  5225. -- See 
  5226. C-4 (appendix C) 
  5227. Manual.
  5228. <= 47)
  5229. >= 91
  5230. <= 96) 
  5231. >= 58
  5232. <= 64)
  5233. <= 64)
  5234. >= 91
  5235. <= 96) 
  5236. > 127)
  5237. -- Instead 
  5238. replacing 
  5239.   call 
  5240. !1.5 
  5241. been rewritten 
  5242. q3.0 functionality.
  5243. isType(REAL, 
  5244. --boolean 
  5245. J >= 0)
  5246. just 
  5247. a fully qualified path
  5248.  fFile
  5249. vOffset
  5250. ~("\",
  5251. ~("\",
  5252. strHelp
  5253.     -- debug: better 
  5254. "dBaseIII (tm) - 
  5255. T#(tm) - 
  5256. T#(tm) 
  5257. /#(c) 1991 - 1994 -- 
  5258. strCloseInstances
  5259. "Please 
  5260. other instances 
  5261.  authoring 
  5262. 4. It 
  5263. , please restart 
  5264. .EXE"
  5265. strdbf
  5266. strDBFileCreationError fName
  5267. "There was 
  5268. creating 
  5269.  :" && 
  5270. strDBFileOpenError 
  5271. opening 
  5272. S :" && 
  5273. strErrNoDBF
  5274. no current 
  5275. one."
  5276. strErrRefdbField fField
  5277. referencing 
  5278. strErrDBFWrite
  5279. writing 
  5280. %record."
  5281. strErrSetDBF 
  5282. B setting value 
  5283. : " & 
  5284. strErrTag
  5285. tag."
  5286. strErrTbkExe
  5287. .exe."
  5288. strExportDone errCount
  5289.  completed."
  5290. ere" && 
  5291. > && "
  5292. f" && \
  5293. "invalid 
  5294. strNoDBFFields
  5295. &fields 
  5296. selected yet."
  5297. "Can't 
  5298. " && 
  5299.  & ". 
  5300. a directory 
  5301. include"&&fname&"'s 
  5302. strSelTBFields
  5303. strSetDBName
  5304. strTagErr 
  5305. " && 
  5306.  & "." 
  5307. strTBErrorRef 
  5308. strTBrecordError 
  5309. :" && 
  5310. strEnterDBfile
  5311. strNoOpenDBfile
  5312. 4% cannot be opened.
  5313. strNoNameOrType
  5314. type 
  5315. g(values."
  5316. strSeldBFileName
  5317. strErrListdBFile
  5318. listing 
  5319. strSelTBKFileName
  5320. strNoNameRecFfl
  5321. "No named, ungrouped 
  5322. were found on 
  5323. strTwoShareName
  5324. more 
  5325. share 
  5326. )same 
  5327. recordfields unique 
  5328. strNoRecIndBase
  5329. strErrorFirstdBRec
  5330. getting 
  5331. strErrorGetdBValue curFld, totrecs
  5332. " && \
  5333. $ && "
  5334. z" && 
  5335. / & "."
  5336. strErrSetdBValue curfld, 
  5337. " && \
  5338. ! && "
  5339. z" && 
  5340.  & "."
  5341. strToManyFlds
  5342. than can be displayed on 
  5343. ." && \
  5344. arrange 
  5345. built."
  5346. strOK
  5347. strCancel
  5348. strPlChooseBook
  5349. choose 
  5350. strChooseBook
  5351. strPlChooseDbase
  5352. strChoosedBase
  5353. strFieldOverrun fType
  5354. &exceeded 
  5355. limits 
  5356. a " & 
  5357. ) && ".dbf 
  5358. strPrecisionError
  5359. "Decimal precision must be either zero 
  5360. )least two less 
  5361. width."
  5362. strAskDateFormat fldName
  5363. " && \
  5364. - & "."
  5365. strdBnameExist dbName
  5366. "Filename" && 
  5367.  && "
  5368. %exists. Replace 
  5369. strSavedBaseFile
  5370. strSavePXFile
  5371. strCharWidth
  5372. "Character 
  5373. between 1 
  5374. 255."
  5375. strNumWidth
  5376. strWidthNull
  5377. blank."
  5378. strDecimalNull
  5379. strDecimal15
  5380. greater 
  5381. strNameToLarge
  5382. 6+ be up 
  5383. strNameNull
  5384. strChar1Num
  5385. strNotPage
  5386. xa functioning 
  5387. build 
  5388. /front 
  5389. strYes
  5390. strTooTooManyFields num
  5391. f" && 
  5392.  && "
  5393. you" \
  5394.             && "don't 
  5395.      label 
  5396. . Do 
  5397. eliminate 
  5398. strWayTooManyFields
  5399. strNoLabels
  5400. Copyright (c) 1991-1994, Asymetrix Corp.
  5401. Allows user 
  5402. interactively browse a dBase file.
  5403. Inquiry, update,
  5404. delete are supported.
  5405. (Delete actually does a 
  5406. K"mark 
  5407. --handlers 
  5408. initialize the front 
  5409. clean up 
  5410. enterApplication
  5411. "Frontend"
  5412. Link 
  5413. cDLLs
  5414. XsysToolBookDirectory & "tb30dlg.dll"
  5415.         STRING openFileDlg(WORD,
  5416. ,INT)
  5417. linkdBase
  5418. openDBFile(pDBasefileName 
  5419. strCantOpendBaseFile(
  5420.         sysSuspendMessages = 
  5421. 4svKey
  5422. ZvFieldList
  5423.  names 
  5424. database 
  5425. navigation flag
  5426. setDBNavigateToDeleted(0)
  5427. checkError 
  5428. xsorting 
  5429. Ha key, no indexes 
  5430. noIndex
  5431. currentRecord 
  5432. updateDisplay
  5433. leaveApplication
  5434. exitDB()
  5435. y & "tb30DB3.DLL"
  5436.         INT checkDBIndex(
  5437. loseAllDBFiles()
  5438. *loseDBFile(
  5439. >loseDBIndexFile(
  5440.  createDBFieldTag(
  5441. sreateDBFile(
  5442. reateDBIndexFile(
  5443. deleteDBFile(
  5444. deselectDBIndexFile()
  5445. findDBKey(
  5446. firstDBKey()
  5447. firstDBRecord()
  5448. freeDBFieldTag(
  5449. getDBDateFormat()
  5450. getDBErrorString(
  5451. getDBFieldCount()
  5452. getDBFieldName(
  5453. getDBFieldPrecision(
  5454. getDBFieldType(
  5455. getDBFieldValue(
  5456. getDBFieldWidth(
  5457. getDBFileName()
  5458. getDBIndexExpression()
  5459. getDBIndexFileName()
  5460. getDBKeyType()
  5461. getDBKeyValue()
  5462. getDBNavigateToDeleted()
  5463.         LONG getDBRecordCount()
  5464. getDBRecordDeleted()
  5465. 1Number()
  5466. gotoDBRecord(DWORD)
  5467. lastDBKey()
  5468. lastDBRecord()
  5469. nextDBKey()
  5470. nextDBRecord()
  5471. openDBIndexFile(
  5472. packDBFile()
  5473. previousDBKey()
  5474. previousDBRecord()
  5475. reindexDBFile(
  5476. removeDBRecords(
  5477. selectDBFile(
  5478. setDBDateFormat(
  5479. setDBFieldTag(
  5480. setDBFieldValue(
  5481. setDBRecordDeleted(
  5482. writeDBRecord(
  5483. strNoDLL()
  5484. statusBar 
  5485. helpText 
  5486. --        DATABASE FUNCTIONS
  5487. getDBRecordNumber()
  5488. totalRecords
  5489. fieldValue fieldName
  5490. = -60 
  5491. = -62 
  5492. = -73
  5493. strDataInvalid()
  5494. readKeyValue
  5495. readIndexExpression
  5496. r, "reading 
  5497. manipulate 
  5498. --    deleteRecord
  5499. --    updateDB
  5500. --    newRecord
  5501. --    packDatabase
  5502. updateWarning
  5503. strDeleteQuery() 
  5504. fstrOK() 
  5505. strCancel()
  5506.     setDBrecordDeleted(1), strDelRec()
  5507. This 
  5508. special code 
  5509. (getDBrecordDeleted() = 1) 
  5510.  = -10)
  5511. @ so 
  5512.  a blank one 
  5513. strDeleteLast()
  5514. ) = 1
  5515. strInvalidRecord()
  5516. writeDBrecord(0)
  5517. , strModRec()
  5518. clearFields
  5519.     svTotalRecords = 
  5520. , strGetRec()
  5521. , strWriteRec()
  5522. cmessages
  5523. closeIndexFile
  5524. xenabled 
  5525. B"sortCheck"
  5526.  files 
  5527. currently selected"
  5528.             vIndexFile = 
  5529. combobox "chooseIndex"
  5530.     closeDBIndexFile(
  5531.             vIndexFiles = dropDownItems 
  5532. lineCount 
  5533. selectChange 
  5534. enableComboboxes("
  5535. , FALSE, TRUE)
  5536.  = "SortExpression", "currentKeyValue", "sortbylabel",\
  5537. "sortExpressionLabel", "currentKeyValueLabel"
  5538. enableFields(
  5539. BfindKey 
  5540. closeAllDBFiles()
  5541. openIndex
  5542. ZvCount, vSaveNumber, vName, vFileNameList, i
  5543. ? > 6
  5544. strOnly7()
  5545. OpenFileDlg(sysWindowhandle, strChooseIndex(),"", ".", "
  5546.  (*.NDX),*.
  5547. ", 1)
  5548.  = nameOnly(
  5549.         -- 
  5550. asure 
  5551. xalready 
  5552. &&strAlreadyOpen()
  5553. >openIndexFile
  5554. = -10
  5555. = -12
  5556. getBDErrorString(
  5557. &CRLF 
  5558. B"FindKey" 
  5559. -- keep 
  5560.  routine generic 
  5561. Mform 
  5562. -- created 
  5563. a different databases
  5564. packdBFile()
  5565. o= default
  5566. stopIndexWarning
  5567. Menustate(
  5568. helpForThisBook
  5569. FrontEndHelp"
  5570. searchForKey value
  5571. , strNavigate
  5572. strWarning() 
  5573. e    function 
  5574. --The passed parameters will be:
  5575. 4LOGICAL 
  5576. nextDBkey()
  5577. nextDBrecord()
  5578. = -10 
  5579. = -70 -- no such 
  5580. strLastRec()
  5581. r= "Failed"
  5582. lastDBkey()
  5583. lastDBrecord()
  5584. = -10 
  5585. = - 15
  5586. -- no 
  5587. empty 
  5588. strAllMarked()
  5589. previousDBkey()
  5590. previousDBrecord()
  5591. = -10 
  5592. = -71 -- no 
  5593. strFirstRec()
  5594. firstDBkey()
  5595. firstDBrecord()
  5596. = -10 
  5597. = -15 -- no 
  5598. isPositiveInteger(
  5599. strKeepRecord(
  5600. = -87 -- marked 
  5601. %deleted
  5602. = -10 -- no 
  5603. --Utility 
  5604. DLL functions 
  5605. take 
  5606. --appropriate action.
  5607. ErrorValue, ErrorText
  5608. , = 1
  5609. = = -8 
  5610. G = -26 
  5611. R = -25 
  5612. strCorruptWarn() \
  5613. fstrAuthor() 
  5614. strExit()
  5615. strauthor()
  5616. strGeneralError(
  5617. Functions
  5618. (isType(REAL, 
  5619. just 
  5620. a fully qualified path
  5621. ZvOffset
  5622. ~("\",
  5623. ~("\",
  5624. --To 
  5625. "disable" fields 
  5626. Makes 
  5627.  like there 
  5628. a disabled 
  5629. --property 
  5630.  fieldList, 
  5631. , clearText
  5632. ) > 0
  5633. 0,0,0
  5634. 0, 50.1875, 0
  5635. 0, 75.3125, 0
  5636.  boxList, enableBox, 
  5637. ) > 0
  5638. 0,0,0
  5639. 0, 50.1875, 0
  5640. [dropdownItems 
  5641. comboBox 
  5642. Script 
  5643. Paradox browser 
  5644. Copyright (c) 1994, Asymetrix Corp.
  5645. Allows user 
  5646. interactively 
  5647. lfile.
  5648. Inquiry, update,
  5649. delete are supported.
  5650. --handlers 
  5651. initialize the front 
  5652. clean up 
  5653. enterApplication
  5654. 4ARRAY indexArray[]
  5655. ZSTRING fileName, indexFileList
  5656. "frontEnd"
  5657. Link 
  5658. XsysToolBookDirectory & "tb30DLG.
  5659. OpenFileDlg(WORD,
  5660. , INT)
  5661. textLineToList(
  5662.     linkDLL 
  5663. ory & "tb30dos.dll"
  5664. getFileList(
  5665. 5"kernel"
  5666.         POINTER GlobalLock(
  5667.  GlobalUnlock(
  5668.  GlobalFree(
  5669. linkPX
  5670. initializePX("
  5671. FrontEnd")
  5672. openPXTable("database", pParadoxfileName 
  5673. 8, 0, 0)
  5674. getPXErrorString(
  5675.         sysSuspendMessages = 
  5676.     filePath = removeExtension(
  5677.  = textlineToList(
  5678. 9&".X??"))
  5679. 1] = 0
  5680.     keyFieldCount = getPXKeyFieldCount("
  5681. +< 0 -- error
  5682. keyFields)
  5683. updateDisplay
  5684. h0 -- no 
  5685. ahead
  5686. getPXFieldNames("
  5687. dropDownItems 
  5688. combobox "chooseIndex" 
  5689. && "- PRIMARY"
  5690. <> "\"
  5691. ) + 1
  5692. queryPXKey(
  5693. i] = 
  5694. fieldNamesFromHandles(
  5695. ) - 1) 
  5696. leaveApplication
  5697. exitPX()
  5698. statusBar 
  5699. helpText 
  5700. linked, 
  5701. y & "tb30PDX.DLL"
  5702.         INT addPXKey(
  5703. --PXKeyAdd()
  5704. 'Password(
  5705. --PXPswAdd()
  5706. --PXTblAdd()
  5707. gppendPXRecord(
  5708. --PXRecAppend()
  5709. clonePXBlob(
  5710. --PXBlobClone()
  5711. closePXBitmapWindow(
  5712. closePXBlob(
  5713. --PXBlobClose()
  5714. closePXTable(
  5715. --PXTblClose()
  5716. copyPXTable(
  5717. --PXTblCopy()
  5718. createPXTable(
  5719. )        --PXTblCreate()
  5720. decryptPXTable(
  5721. --PXTblDecrypt()
  5722. deletePXPassword(
  5723. --PXPswDel()
  5724. deletePXRecord(
  5725. --PXRecDelete()
  5726. deletePXTable(
  5727. --PXTblDelete()
  5728. doesPXTableExist(
  5729. --PXTblExist()
  5730. dropPXBlob(
  5731. --PXBlobDrop()
  5732. dropPXKey(
  5733. )            --PXKeyDrop()
  5734. emptyPXField(
  5735. emptyPXRecord(
  5736. --PXRecBufEmpty()
  5737. emptyPXTable(
  5738. --PXTblEmpty()
  5739. encryptPXTable(
  5740. )            --PXTblEncrypt()
  5741. --PXExit()
  5742. freePXGraphicBlob(
  5743. freePXGraphicBlobPalette(
  5744. firstPXRecord(
  5745. --PXRecFirst()
  5746.         LONG getPXBitmapSize(
  5747. rINT,DWORD,
  5748. --PXBlobGet()
  5749. =lobQuick(
  5750.         --PXBlobQuickGet()
  5751. jlobSize(
  5752. --PXBlobGetSize()
  5753. getPXFieldCount(
  5754. --PXRecNFlds()
  5755.     getPXFieldType(
  5756.     )        --PXFldType()
  5757.     getPXFieldValue(
  5758. FileSize(
  5759. --PXKeyNFlds()
  5760. getPXMaxFiles()
  5761. getPXMaxLocks()
  5762. getPXMaxTables()
  5763.         INT    getPXSwapSizeFromINI()
  5764. MaxTablesFromINI()
  5765. 1MaxFilesFromINI()
  5766. GMaxLocksFromINI()
  5767. getPXMemoBlob(
  5768. getPXNetErrorUser()
  5769. --PXNetErrUser()
  5770. getPXNetUserName()
  5771. --PXRawGet()
  5772. getPXRawDataSize(
  5773. RecordCount(
  5774. --PXTblNRecs()
  5775. RecordNumber(
  5776. --PXRecNum()
  5777. getPXSortOrder()
  5778. getPXUserInfo()
  5779. gotoPXNetRecordLock(
  5780.             --PXNetRecGotoLock()
  5781. gotoPXRecord(
  5782. --PXRecGoto()
  5783. --PXWinInit()
  5784. insertPXRecord(
  5785. --PXRecInsert()
  5786. isPXNetRecordLocked(
  5787. --PXNetRecLocked()
  5788. isPXNetTableChanged(
  5789. --PXNetTblChanged()
  5790. isPXTableProtected(
  5791. --PXTblProtected()
  5792. lastPXRecord(
  5793. --PXRecLast()
  5794. lockPXNetFile(
  5795. --PXNetFileLock()
  5796. lockPXNetRecord(
  5797. lockPXNetTable(
  5798. --PXNetTblLock()
  5799. mapPXKey(
  5800.         --PXKeyMap()
  5801.     nextPXRecord(
  5802. --PXRecNext()
  5803. openPXBitmapWindow(
  5804. openPXBlobRead(
  5805. )            --PXBlobOpenRead()
  5806. openPXBlobWrite(
  5807. --PXBlobOpenWrite()
  5808.         --PXTblOpen()
  5809. packPXTable(
  5810. previousPXRecord(
  5811. --PXRecPrev()
  5812. --PXKeyQuery()
  5813. refreshPXNetTable(
  5814. --PXNetTblRefresh()
  5815. renamePXTable(
  5816. )            --PXTblRename()
  5817. savePX()
  5818. --PXSave()
  5819. searchPXField(
  5820. searchPXKey(
  5821.         --PXSrchKey()
  5822. setPXBitmapWindowInfo(
  5823. setPXBlob(
  5824. )            --PXBlobPut()
  5825. setPXBlobFromFile(
  5826. setPXFieldValue(
  5827. )    --PXPutAlpha(), PXPutDate(), PXPutDouble(), PXPutLong(), PXPutShort()
  5828. setPXGraphicBlob(
  5829. )            --
  5830. setPXGraphicBlobFromFile(
  5831. setPXINIMaxFiles(
  5832. --PXSetDefaults()
  5833. setPXINIMaxLocks(
  5834. setPXINIMaxTables(
  5835. setPXMemoBlob(
  5836. setPXRaw(
  5837. --PXRawPut()
  5838. setPXSortOrder(
  5839. setPXINISwapSize(
  5840. setPXTableCreateMode(
  5841. --PXTblCreateMode()
  5842. setPXTableMaxSize(
  5843. --PXTblMaxSize()
  5844. setPXUserInfo(
  5845. unlockPXNetFile(
  5846. --PXNetFileUnlock()
  5847. unlockPXNetRecord(
  5848.             --PXNetRecUnlock()
  5849. unlockPXNetTable(
  5850.             --PXNetTblUnlock()
  5851. updatePXRecord(
  5852. --PXRecUpdate()
  5853. upgradePXTable(
  5854. --PXTblUpgrade()
  5855. writePXBlobToFile(
  5856. writePXGraphicBlobToFile(
  5857. --        DATABASE FUNCTIONS
  5858. currentRecord
  5859. getPXRecordNumber("
  5860. totalRecords
  5861. getPXRecordCount("
  5862. fieldValue 
  5863. "B F O G"
  5864.         -- If 
  5865. a memo blob read 
  5866. xignore 
  5867.         -- See "whowhere.tbk" 
  5868. dealing 
  5869. fgraphic types
  5870.             hPrivateBlob = 
  5871.             retVal = 
  5872. W, 0)
  5873. getPXfieldvalue("
  5874. "B F O G"
  5875.         -- If 
  5876.         -- 
  5877.             hBlob = 
  5878. )+1, 0)
  5879. u, 1)
  5880.             --
  5881. manipulate 
  5882. --    deleteRecord
  5883. --    updateDB
  5884. --    newRecord
  5885. --    packDatabase
  5886. strDeleteQuery() 
  5887. fstrOK() 
  5888. strCancel()
  5889. clearFields
  5890. appendPXRecord("
  5891. cmessages
  5892. -- keep 
  5893.  routine generic 
  5894. Mform 
  5895. -- created 
  5896. a different databases
  5897. = -118 -- table busy
  5898. ) & CRLF & \
  5899. "Please 
  5900.  other applications 
  5901.  try packing 
  5902. <> -33
  5903.         -- 
  5904. now, -33 
  5905. invalid 
  5906. $, yet everything appears 
  5907. be working
  5908. o= default
  5909. HelpForThisBook
  5910. FrontendHelp"
  5911.  Searching 
  5912. --- (
  5913. -- "mode" 
  5914. -- 0 = "SEARCHFIRST", that 
  5915.  record
  5916. -- 1 = "SEARCHNEXT", 
  5917. -- 2 = "CLOSESTRECORD", 
  5918. beginning 
  5919. --     If there 
  5920. no exact match
  5921.  greater than "
  5922. --            
  5923. equal 
  5924. --            
  5925.  becomes 
  5926.  only works on indexed tables, no problem,
  5927. -- "Whowhere" always uses 
  5928. -- Modes 0 
  5929.  alone 
  5930. they fail.
  5931. -- Passing a 
  5932.  forces a keyed 
  5933. determine 
  5934. fields (
  5935. order) 
  5936. primary 
  5937. J. E.g. 
  5938. sorted on 7 
  5939. -- passing 2 
  5940.  will cause 
  5941. be on 
  5942. . Got 
  5943. parameter 
  5944. %indexID allows searches on complex 
  5945. Minsensitive indexes. In these cases, 
  5946.  needs 
  5947. -- Therefore, 
  5948. three main 
  5949. calling 
  5950. function:
  5951. searchTable (2,"foo") -- 
  5952. named 
  5953. N,,256) -- 
  5954. on a compound 
  5955. +    "SUCCESS" 
  5956. must be a 
  5957.  = NULL
  5958.  searchKey? Uses 
  5959. isType(REAL, 
  5960.             -- 
  5961. ) -- 
  5962. [buffer
  5963. < 0 -- 
  5964. xfound
  5965. 0, navigating 
  5966. closest 
  5967. !actual navigation 
  5968. 5!dBase 
  5969. --The passed parameters 
  5970. isPositiveInteger(
  5971. --Utility Functions
  5972. --    nameOnly()
  5973. --    enableFields()
  5974. --    enableComboboxes()
  5975. just 
  5976. "ile 
  5977. a fully qualified path
  5978.  myFile
  5979. ZvOffset
  5980. ~("\",
  5981. ~("\",
  5982. x"." 
  5983. fieldNamesFromhandles handleList
  5984. ZSTACK 
  5985. 4) > 0
  5986. a&"," 
  5987. fffo~
  5988. buttonClick
  5989. 4STRING svdbName
  5990. vName
  5991. OpenFileDlg (strPLChooseDB(),"", ".", "dBIII file (*.dbf), *.
  5992. ", 1)
  5993. closeAllDBFiles()
  5994. openDBFile(
  5995. getDBErrorString(
  5996. "DBaseFilename" 
  5997. nameOnly(
  5998. listDatabaseFields "
  5999. selectedTextLines 
  6000. "databaseFields" 
  6001. enabled 
  6002. B"selectAllFields" 
  6003. --builds 
  6004. displays a 
  6005. names 
  6006. a DB 
  6007.  fieldName
  6008. vdbFieldList
  6009. strSeldBFileName()
  6010.  the 
  6011. R = buildDBFieldList()
  6012. no fields found, 
  6013. error
  6014. strErrListdBFile()
  6015. "DBfilename"
  6016. "databasefields"
  6017. a given DB 
  6018. ZINT vdbFieldCount, vCharsInList
  6019. ,vdbFieldName
  6020. 0 = getDBFieldCount()
  6021. --determine 
  6022. Z <= 0
  6023.  occured
  6024. --loop thru 
  6025.  = getDBFieldName(i)
  6026.  & CRLF 
  6027. )    -- 
  6028. [off extra 
  6029.  <> 0 
  6030.  - 1) 
  6031.  - 1) 
  6032. buttonClick
  6033. 4STRING svdbName
  6034. ZvNewBookName, vSelectedFields, vdbFieldList, vLayerNumber, includeLabels
  6035. -- Magic 
  6036. z, more than 47 takes 
  6037. memory 
  6038. TB can 
  6039. -- If you just have 
  6040. <fields, consider eliminating the 
  6041. -- label 
  6042. "addDatabaseFields" handler (That's 65 
  6043.  = TRUE
  6044. (selectedTextlines 
  6045. "Databasefields")
  6046. > 47 
  6047. strWayTooManyFields()
  6048. strTooToomanyFields(
  6049. fstrNoLabels() 
  6050. strCancel()
  6051. IncludeLabels = FALSE
  6052.  = createDBBook(
  6053.  will 
  6054. there are no 
  6055.     -- returns NULL 
  6056. user backs out 
  6057. error
  6058. copyObject(
  6059. "DBase Browser", 
  6060. skipNavigation 
  6061. BFrontEndHelp", 
  6062. "sysSuspendMessages = 
  6063. selectpage; 
  6064.  ToolBook 
  6065.     -- Add 
  6066. . The numbers initialize 
  6067. positions 
  6068. limits 
  6069.  0, 390, 4100, "databaseFields", 
  6070. --build 
  6071. plist 
  6072. browser 
  6073. 8property 
  6074. "databasefields"
  6075. vselectedFields) 
  6076. "dataBaseFields" 
  6077. nameOnly(
  6078. "titleField" 
  6079. defined 
  6080. file 
  6081. pDBasefileName 
  6082. layering 
  6083. qbooks
  6084. --since DB 
  6085. closed also need 
  6086. cleanUp 
  6087. closeAlldBFiles()
  6088. "activeWindow = windowHandle 
  6089. enterApplication;
  6090. buttonClick
  6091. 4STRING svdbName
  6092. ZvNewBookName, vSelectedFields, vdbFieldList, vLayerNumber, includeLabels
  6093. -- Magic 
  6094. z, more than 47 takes 
  6095. memory 
  6096. TB can 
  6097. -- If you just have 
  6098. <fields, consider eliminating the 
  6099. -- label 
  6100. "addDatabaseFields" handler (That's 65 
  6101.  = TRUE
  6102. (selectedTextlines 
  6103. "Databasefields")
  6104. > 47 
  6105. strWayTooManyFields()
  6106. strTooToomanyFields(
  6107. fstrNoLabels() 
  6108. strCancel()
  6109. IncludeLabels = FALSE
  6110.  = createDBBook(
  6111.  will 
  6112. there are no 
  6113.     -- returns NULL 
  6114. user backs out 
  6115. error
  6116. copyObject(
  6117. "Paradox browser", 
  6118. skipNavigation 
  6119. EFrontEndHelp", 
  6120. "PXFrontEnd"
  6121. "frontEnd"
  6122. "sysSuspendMessages = 
  6123. selectpage; 
  6124.  ToolBook 
  6125. -- Add 
  6126. initialize positions 
  6127. limits
  6128.  0, 390, 4100, "
  6129. -- build 
  6130. plist 
  6131. 8property 
  6132. vselectedFields) 
  6133. nameOnly(
  6134. "titleField" 
  6135. defined 
  6136. file 
  6137. pParadoxFileName 
  6138. layering 
  6139. qbooks
  6140. cleanUp 
  6141. "activeWindow = windowhandle 
  6142. enterApplication;
  6143. --handlers used 
  6144. }only on 
  6145.     -- cleaning up 
  6146. slows 
  6147. flipping so 
  6148. necessary
  6149.     -- you have 
  6150. 8was saved
  6151. "toolbookfields" <> 
  6152. "dName" <> 
  6153. cleanUp
  6154.     --Just 
  6155. be sure.
  6156. closeAllDBFiles()
  6157. --This 
  6158.  initializes the 
  6159. qsession.
  6160. = TRUE
  6161. 0two panels 
  6162. resetCharacteristics
  6163. resetDataView
  6164.     --initalize 
  6165. rest 
  6166. controls on 
  6167. enabled 
  6168. "add_remove" 
  6169. FALSE
  6170. "toolbookFields"
  6171. "toolbookfileName"
  6172. "dbFields"
  6173. labels 
  6174. characteristics 
  6175. ZvControlList
  6176. "TypeLabel", 
  6177. "decimalLabel", 
  6178. "changeLabel",
  6179. "nameLabel",
  6180. "widthLabel", 
  6181. "Width", 
  6182. "Decimal"
  6183. enableFields(
  6184. B"dateFormat" 
  6185. "type" 
  6186.  sets 
  6187. state 
  6188.  so that 
  6189. valid 
  6190. selected.
  6191. --Parameters:
  6192. --    dbFieldType:    
  6193. dBase 
  6194. --    dbFieldWidth:    
  6195. qvalue 
  6196. --    dbFieldDecimal:    
  6197. --    dbFieldName:    
  6198. setCharacteristicsState 
  6199. 4svLine, svChecked
  6200. a <> NULL
  6201.     vActiveList = "
  6202. ","&&\
  6203. ""WidthLabel"", 
  6204.         vInactiveList = "
  6205. ""DecimalLabel"", 
  6206.  = "Numeric"
  6207. B"DateFormat" 
  6208. --These 
  6209. updated 
  6210. being edited
  6211. ? messages handled here 
  6212. Clear
  6213. cutClear
  6214. 4INT svline
  6215. ("d"&
  6216. selectedtextlines 
  6217. "dname" <> 
  6218. "dwidth" <> 
  6219. " <> 
  6220. buttonClick
  6221. Validate         --veryify that everything 
  6222. 4building dBase file
  6223. BuildTag        --setup 
  6224. & database schema 
  6225. CreateFile
  6226. MoveData        --
  6227. ntoolbook 
  6228. --validate entry 
  6229. 4STRING svdbName
  6230. 4INT svInvalidCounter
  6231. asure they defined 
  6232. )least 1 
  6233. textlineCount (
  6234. "dName")
  6235. strSelTBFields()
  6236. --eliminate 
  6237. existing 
  6238. dbase files
  6239. closeAllDBfiles()
  6240. --initialize counters 
  6241. , truncation 
  6242. invalid 
  6243. --create 
  6244. Tag, 
  6245. ZLONG i 
  6246. vDecimal, vFieldCount
  6247. vName, vType, vWidth
  6248. initProgressViewer "Creating Record Definition", 
  6249. svTag = createDBFieldTag(
  6250. strErrTag()
  6251. --loop thru 
  6252.  setting their tags
  6253. currentItem 
  6254. = FALSE 
  6255. "dType"
  6256. "dWidth"
  6257. "Numeric"
  6258. "dDecimal"
  6259. setDBFieldTag(
  6260. , i, 
  6261. = TRUE
  6262. strTagErr(
  6263. , svTbName
  6264.  = nameOnly(
  6265. ~(".",
  6266. + 1) 
  6267. + 3) 
  6268. (strSavedBaseFile() 
  6269. r= strOK()
  6270.  exists
  6271. strdBnameExist(
  6272. fstrYes() 
  6273. strNo()
  6274. createDBfile(
  6275. = -27
  6276. strDBFileExists (
  6277. strDBFileCreationError (
  6278. freeDBfieldtag(
  6279. openDBfile(
  6280. strDBFileOpenError (
  6281. 4 digit year gets loaded correctly.
  6282. setdBDateFormat("mm/dd/ccyy")
  6283. update displayed 
  6284. Zi, j, vExportBackground, vPage,vToolBookFiledName, vFieldName, vFieldType, vFieldWidth
  6285. ZvFieldDecimal, vFieldDateFormat, vFieldData, vRecordCounter
  6286. Zreferences 
  6287. strTBErrorRef (
  6288. stopDB
  6289. "Writing 
  6290. chosen recordfields 
  6291. --localize 
  6292. , info
  6293. vToolBookFieldName = 
  6294. saveTBName 
  6295. dateFormat 
  6296. strNoNameOrType()
  6297. strTBrecordError(
  6298. Conditions
  6299.     --convert 
  6300. %"mm/dd/y" 
  6301. -- only 
  6302. errors 
  6303. wrong
  6304. readable 
  6305. -- must always have leading 
  6306. front 
  6307. value
  6308. setDBFieldValue(
  6309. = -62
  6310. strErrRefdbField(
  6311. = -12
  6312. strErrNoDBF()
  6313. strErrSetDBF(
  6314. --write 
  6315. writeDBrecord(i)
  6316. strErrDBFWrite()
  6317. closeDBfile(
  6318. = default
  6319. strExportDone(0)
  6320. buttonClick
  6321. 4svdbName, svTBName
  6322. ZLONG i 
  6323. ZINT vFieldCount
  6324. ZSTRING vType, vWidth
  6325. ZSTACK vFieldList, vFieldType
  6326. asure they defined 
  6327. )least 1 PX 
  6328. textlineCount (
  6329. "dName")
  6330. strSelTBFields()
  6331. --eliminate 
  6332. existing 
  6333. PX files
  6334. exitPX()
  6335. initializePX()
  6336. getPXErrorString(
  6337. 7 counters 
  6338. , truncation 
  6339. invalid data
  6340. svInvalidCounter = 0
  6341. initProgressViewer "Creating Record Definition", 
  6342. --loop thru 
  6343. PX fields setting their tags
  6344. currentItem 
  6345.  + 1) - i
  6346. vfieldList
  6347. "dWidth" 
  6348.  = "Alpha-Numeric"
  6349. "A" & 
  6350. vfieldType
  6351.  = "Date"
  6352.  = "Memo"
  6353. "M" & 
  6354.     close 
  6355.  = nameOnly(svTbName)
  6356. ~(".",
  6357. (strSavePXFile() 
  6358. r= strOK()
  6359. ~(".",
  6360. "Setting extension 
  6361. "".db"""
  6362.  exists
  6363.  & ".DB"
  6364. strdBnameExist(
  6365. fstrYes() 
  6366. strNo()
  6367. --create the PX 
  6368. createPXTable(
  6369. moveData
  6370. Zi, j, vExportBackground, vPage,vToolBookFiledName, vFieldName, 
  6371. , vFieldWidth
  6372. ZvFieldDecimal, vFieldDateFormat, vFieldData, vRecordCounter
  6373. Zreferences 
  6374. = FALSE
  6375. = TRUE
  6376. strTBErrorRef (
  6377. stopDB
  6378. openPXTable("
  6379. 0, 1)
  6380. "Writing 
  6381. chosen recordfields 
  6382. --localize PX 
  6383. vToolBookFieldName = 
  6384. saveTBName 
  6385. strNoNameOrType()
  6386. strTBrecordError(
  6387.     hBlobData = GlobalAlloc(68, 
  6388.     pBlobData = GlobalLock(
  6389. 1(0, 
  6390. GlobalUnlock(
  6391. g = openPXBlobWrite("
  6392. )+1, 0)
  6393. setPXBlob(
  6394. ), 0, 
  6395. closePXBlob(
  6396. GlobalFree(
  6397. value
  6398. setPXFieldValue("
  6399. = -62
  6400. strErrRefdbField(
  6401. = -12
  6402. strErrNoDBF()
  6403. strErrSetDBF(
  6404. --write 
  6405. AppendPXrecord("
  6406. closePXTable("
  6407. = default
  6408. strExportDone(0)
  6409. notifyBefore 
  6410. odisablePage && "
  6411. " && 
  6412. olevel)
  6413. oenabled 
  6414. FALSE
  6415. buttonClick
  6416. " && 
  6417. p&& "
  6418. " && 
  6419. value
  6420. oprop_level 
  6421. "invalid 
  6422. widget:" && 
  6423. I & CRLF & \
  6424.             "must be ""
  6425. direction 
  6426. "Next,Previous,First,Last"
  6427. "", ""
  6428. "", ""
  6429. oprop_disablePage 
  6430. :" && 
  6431.  & CLRF & \
  6432. notifyBefore 
  6433. odisablePage && "
  6434. " && 
  6435. olevel)
  6436. oenabled 
  6437. FALSE
  6438. buttonClick
  6439. " && 
  6440. value
  6441. oprop_level 
  6442. "invalid 
  6443. widget:" && 
  6444. I &CRLF&\
  6445.             "must be ""
  6446. direction 
  6447. "Next,Previous,First,Last"
  6448. "", ""
  6449. "", ""
  6450. oprop_disablePage 
  6451. :" && 
  6452.  & CLRF & \
  6453. notifyBefore 
  6454. odisablePage && "
  6455. " && 
  6456. olevel)
  6457. oenabled 
  6458. FALSE
  6459. buttonClick
  6460. " && 
  6461. value
  6462. oprop_level 
  6463. "invalid 
  6464. widget:"&&
  6465. G &CRLF&\
  6466.             "must be ""
  6467. direction 
  6468. "Next,Previous,First,Last"
  6469. "", ""
  6470. "", ""
  6471. oprop_disablePage 
  6472. :" && 
  6473.  & CLRF & \
  6474.         set vO
  6475. Paradox Field Char - Export
  6476. The controls in the Change Paradox Field Characteristics section reflect the currently selected field in the Paradox Fields listbox.  If a Paradox field is not selected, the controls are unavailable.
  6477. Name:  A Paradox field name  up to 25 characters long.  The first character cannot be a number.  Acceptible characters are:
  6478.                                    A...Z  _  0 1 2 3 4 5 6 7 8 9
  6479. Type:  The Paradox data type. Click one of the four radio buttons to change the data type.
  6480. Width:  The number of characters in the Paradox field. The maximum width for fields of type Alpha-numeric is 255 and Memo is 240.  The width of the memo field is not related to the size of the memo field. Instead it specifies how much of the memo is actually stored in the table. The complete memo is stored outside of the table; Paradox creates a pointer to the memo that it stores in the table. For other types, the width is predefined and cannot be changed.
  6481. If your book has many record fields containing dates that ToolBook does not recognize as dates, change sysDateFormat to match the format of the dates in the record fields.
  6482. Change Paradox Field Characteristics
  6483. isablePage 
  6484. :" && 
  6485.  & CLRF & \
  6486.         set vO
  6487. Paradox Field Char - Export
  6488. The co
  6489. ypes, the 
  6490. ee##6
  6491. ee##ee
  6492. ##ee#
  6493. e6##6
  6494. #e##ee
  6495. ##e##
  6496. 66#e#6
  6497. #e##ee
  6498. e##e#
  6499. e##e#
  6500. ##e##e#
  6501. #e##e#
  6502. e##e##e#
  6503. e##e#
  6504. e##e##e#
  6505. e##e##e
  6506. Tk#$k
  6507. ##e##e#
  6508. #e##e
  6509. #e##e##e#
  6510. #e##e##
  6511. ##e##e
  6512. $kfkkff
  6513. e##6#
  6514. ##6#6
  6515. ##6#6
  6516. ##6#6
  6517. ##6#6
  6518. e#ee##
  6519. #TTOO
  6520. TOTOTOO!
  6521. OTOTTOT
  6522. #OTTOTOTO
  6523. TOOTO
  6524. kTTOTTOT
  6525. OOTTOOTOTT
  6526. kOTOTTOOTT
  6527. kOTOTOT
  6528. kOOTOTO
  6529. #fOTOTOTOO
  6530. TOOTOTT
  6531. #TOOTOTOTT
  6532. OOTOOTO
  6533. TOTTOTO
  6534. TOOTTOTOTO
  6535. OTOOT
  6536. OTOOTOTOO
  6537. TTOTOTTO
  6538. TTOTOTO
  6539. TOOTTO
  6540. TTOOTOOTOO
  6541. TOTTOOTOTO
  6542. TTOOTOO
  6543. TOOTOTOTOO
  6544. TOTOTO
  6545. TOTOTOOTOT
  6546. OOTOTTOOTT
  6547. TOTTOTOOTO
  6548. OTOOTOOTOO
  6549. OTTOTTO
  6550. TOOTOTTOTT
  6551. OTTOTOTTO
  6552. OOTTOOT
  6553. TOTOTTOT
  6554. TOTOTTOTTO
  6555. TOTTOTOTT
  6556. TOTTO
  6557. ##kkf
  6558. TTOOT
  6559. OOTOT
  6560. OTTOTO
  6561. ff$kT
  6562. TOOTO
  6563. TOTOO
  6564. TOTOOTTOOT
  6565. OTOOTOTOO
  6566. TOOTOTOT
  6567. TOTTOTOTOT
  6568. TTOTOO
  6569. TOTOTOTOT
  6570. TOOTOTOOTO
  6571. TOTOO
  6572. TOTOTO
  6573. TOTOOT
  6574. TOOTOT
  6575. TOTOOTOOTO
  6576. TOTOTOOTOT
  6577. OOTOT
  6578. TOOTOOTOTO
  6579. TOTOTOTTOO
  6580. TOTOT
  6581. TOT,O
  6582. TOTOTT
  6583. TOTOTTOOTO
  6584. TOTOTO
  6585. TOOTOT
  6586. TTOTOTOTOO
  6587. TOOTOTOOTO
  6588. TOTOOTOT
  6589. TOOTOO
  6590. TTOOTTOTOk
  6591. e#TOO
  6592. TTOOTT
  6593. #OTTOOT
  6594. TOTOTOOT
  6595. OTOTOOTTO
  6596. TOTOT
  6597. OOTOOT
  6598. OTOOTOO
  6599. TOOTOT
  6600. TOTOT
  6601. OOTOT
  6602. TOTOTOOT
  6603. #6#TOO(
  6604. #kOOT
  6605. TOOTOOTOOT
  6606. TOTOT
  6607. OOTOTTOTOT
  6608. OTOTOTOOTO
  6609. TOTTO
  6610. TTOTOOT
  6611. TOOT\O
  6612. TOTTOTOTOT
  6613. TOTOTOOT
  6614. TOOTOT
  6615. kOOTOT
  6616. #kkfOT
  6617. TOOTOT
  6618. TOOTOTOT
  6619. TOTOOT
  6620. TOTOTOT
  6621. TTOOTOTOTT
  6622. OTTOT
  6623. TTOTOTOOTO
  6624. TTOTOTTOOT
  6625. TOTOTT
  6626. TOOTOT
  6627. TOTOT
  6628. TOTOOTOOT
  6629. TOOTOOT
  6630. TTOTOOTOTO
  6631. OTOOTOO
  6632. TOTOOT
  6633. TOOTOTOOT
  6634. TOT    O
  6635. TOOTeO
  6636. TOTOTTOTOT
  6637. OOTOTTOTTO
  6638. TOTOTOTOOT
  6639. TOTOOTOTOT
  6640. TOTOTTOOTT
  6641. TOOTOTOT
  6642. TOTOOTOOT
  6643. TOOTOTOOTO
  6644. TOTOTOOT
  6645. OTOOT
  6646. TOTOOTOTOO
  6647. TOTOOTOTOT
  6648. TOOTOOTOTO
  6649. TOTOOTOOTO
  6650. $OOTTOTOT
  6651. TOOT{O
  6652. TOTOOTOTOT
  6653. TOOTOOTOOT
  6654. OTOOTOOTOT
  6655. OTOOTOTOOT
  6656. TOTOT
  6657. TOTOTOTOT
  6658. TOTOT
  6659. TOTOOT
  6660. TOTOTOOTOO
  6661. TOOTOOTOTO
  6662. TOTOOTT
  6663. TOTOOTOOT
  6664. TOTOOTOTOO
  6665. TOTOTOTOTO
  6666. OTOTOOTOOT
  6667. TOOTOT
  6668. TOOTOTOT
  6669. TOOTOT
  6670. TOTOT
  6671. TOOTOT
  6672. TOOT*O
  6673.